{"action":"reopened","issue":{"url":"https://api.github.com/repos/gogits/gogs/issues/3944","repository_url":"https://api.github.com/repos/gogits/gogs","labels_url":"https://api.github.com/repos/gogits/gogs/issues/3944/labels{/name}","comments_url":"https://api.github.com/repos/gogits/gogs/issues/3944/comments","events_url":"https://api.github.com/repos/gogits/gogs/issues/3944/events","html_url":"https://github.com/gogits/gogs/issues/3944","id":194740181,"number":3944,"title":"failed to write new configuration file /data/git/.gitconfig.lock","user":{"login":"dbabits","id":2488222,"avatar_url":"https://avatars.githubusercontent.com/u/2488222?v=3","gravatar_id":"","url":"https://api.github.com/users/dbabits","html_url":"https://github.com/dbabits","followers_url":"https://api.github.com/users/dbabits/followers","following_url":"https://api.github.com/users/dbabits/following{/other_user}","gists_url":"https://api.github.com/users/dbabits/gists{/gist_id}","starred_url":"https://api.github.com/users/dbabits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbabits/subscriptions","organizations_url":"https://api.github.com/users/dbabits/orgs","repos_url":"https://api.github.com/users/dbabits/repos","events_url":"https://api.github.com/users/dbabits/events{/privacy}","received_events_url":"https://api.github.com/users/dbabits/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-12-10T02:55:46Z","updated_at":"2016-12-22T22:59:59Z","closed_at":null,"body":"same issue as #1728, #1624 and some others.\r\n\r\n```\r\n\r\nln: ./log/log: Operation not permitted\r\nln: ./data/data: Operation not permitted\r\nln: /home/git/git: Operation not permitted\r\n\r\n2016/12/10 02:51:02 [T] Custom path: /data/gogs\r\n2016/12/10 02:51:02 [T] Log path: /app/gogs/log\r\n2016/12/10 02:51:02 [I] Gogs: Go Git Service 0.9.99.0915\r\n2016/12/10 02:51:02 [I] Build Time: 2016-09-16 12:10:31 UTC\r\n2016/12/10 02:51:02 [I] Build Git Hash:\r\n2016/12/10 02:51:02 [I] Log Mode: File(Info)\r\n2016/12/10 02:51:02 [I] Cache Service Enabled\r\n2016/12/10 02:51:02 [I] Session Service Enabled\r\n2016/12/10 02:51:02 [I] Mail Service Enabled\r\n2016/12/10 02:51:02 [I] Git Version: 2.6.6\r\n2016/12/10 02:51:03 [.../gogs/models/repo.go:146 NewRepoContext()] [E] Fail to execute 'git config --global core.quotepath false': error: failed to write new configuration file /data/git/.gitconfig.lock\r\n```\r\n\r\n\r\n```\r\nbash-4.3# ls -al /data\r\ntotal 484\r\ndrwxrwxrwx    5 git      git          32768 Dec  9 02:54 .\r\ndrwxr-xr-x    1 root     root          4096 Dec 10 02:44 ..\r\ndrwxrwxrwx    4 git      git          32768 Dec 10 02:54 git\r\ndrwxrwxrwx    5 git      git          32768 Nov 13 03:06 gogs\r\n-rwx------    1 git      git         339968 Dec  4 03:39 gogs.db\r\ndrwxrwxrwx    2 git      git          32768 Nov 13 03:07 ssh\r\n\r\n\r\n```\r\ngogs running in docker like this:\r\n```\r\ndocker run -ti -d --name=gogs -p 10022:22 -p 10080:3000 -v /mnt/usb1/data_gogs:/data gogs/gogs-rpi\r\n```\r\nIt seems that the file is being created and immediately deleted by the running gogs process:\r\n```\r\nbash-4.3# ls -l /data/git/.gitconfig.lock\r\n-rwx------    1 git      git              0 Dec 10 03:24 /data/git/.gitconfig.lock\r\nbash-4.3# ls -l /data/git/.gitconfig.lock\r\nls: /data/git/.gitconfig.lock: No such file or directory\r\n```\r\nUpdate. Gogs seems to have entered an infinite loop with git config process constantly being spawned :\r\n```\r\nbash-4.3# ps -ef\r\nPID   USER     TIME   COMMAND\r\n    1 root       0:00 /bin/s6-svscan /app/gogs/docker/s6/\r\n   20 root       0:00 s6-supervise openssh\r\n   21 root       0:00 s6-supervise syslogd\r\n   22 root       0:00 s6-supervise crond\r\n   23 root       0:06 s6-supervise gogs\r\n   24 root       0:00 /sbin/syslogd -nS -O-\r\n   26 root       0:00 /usr/sbin/sshd -D -f /app/gogs/docker/sshd_config\r\n 1901 root       0:00 bash\r\n28172 git        0:00 /app/gogs/gogs web\r\n28191 git        0:00 git config --global core.quotepath false\r\n```"}}
{"actor":{"display_login":"Unknwon"}}