I am using a raspberry pi 4, gogs_0.11.91_raspi_armv7.zip image and a USB extFat 250GB HDD. Because of the reduced internal memory space I am mounting an external HDD to ‘/m edia/gogsData’.
Installation and WebUI are working fine and I changed the ‘Repository Root Path’ to ‘/media/gogsData’.
The problem I encounter is that as soon as I try to create a repository the following message web message shows up
An error has occurred : initRepository: InitRepository: exit status 128 - error: chmod on /media/gogsData/benun/test.git/config.lock failed: Operation not permitted fatal: could not set ‘core.filemode’ to ‘false’
Application Version: 0.11.91.0811
in the ‘media/gogsData’ I see a created folder with the correct username but nothing more.
I already tried to change the chown via
$ sudo chown -R git:git /media/gogsData/
but strangely I can’t do that
‘chown: changing ownership of ‘/media/gogsData/benun’: Operation not permitted’
changing the folder chmod to
sudo chmod 777 /media/gogsData/
sudo chmod 776 /media/gogsData/
is not solving the problem.
Any other suggestions?
Many thanks in advanced for any help!
With best regards,