aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorRoss Golder <ross@golder.org>2018-09-08 19:07:30 +0700
committer无闻 <u@gogs.io>2018-09-08 08:07:30 -0400
commit068e6ce2c995445f0ce1c10ee11816600b12a5fd (patch)
tree015307aa5407adb4314959d9b68fc167f7d09733 /docker
parent5d4bb4d6f8cc296d5f23f0b520a5dc45d5051c23 (diff)
docker: remove chown the git repos on startup (refs #4996). (#5390)
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/s6/gogs/setup1
1 files changed, 0 insertions, 1 deletions
diff --git a/docker/s6/gogs/setup b/docker/s6/gogs/setup
index ac82e210..9b5fdd0c 100755
--- a/docker/s6/gogs/setup
+++ b/docker/s6/gogs/setup
@@ -19,5 +19,4 @@ ln -sfn /data/gogs/data ./data
# Backward Compatibility with Gogs Container v0.6.15
ln -sfn /data/git /home/git
-chown -R git:git /data /app/gogs ~git/
chmod 0755 /data /data/gogs ~git/