aboutsummaryrefslogtreecommitdiff
path: root/docker/s6/gogs/setup
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2018-09-15 13:46:14 -0400
committerUnknwon <u@gogs.io>2018-09-15 13:46:14 -0400
commit21ceba6cfd95da8ba5b804c0abd4aefbedad569f (patch)
tree30300e9366caf1423f11d3db28c5d46b53a97af0 /docker/s6/gogs/setup
parentf8302c5470e362678d856e50d50dda104f79d847 (diff)
Revert "docker: remove chown the git repos on startup (refs #4996). (#5390)"
This reverts commit 068e6ce2c995445f0ce1c10ee11816600b12a5fd.
Diffstat (limited to 'docker/s6/gogs/setup')
-rwxr-xr-xdocker/s6/gogs/setup1
1 files changed, 1 insertions, 0 deletions
diff --git a/docker/s6/gogs/setup b/docker/s6/gogs/setup
index 9b5fdd0c..ac82e210 100755
--- a/docker/s6/gogs/setup
+++ b/docker/s6/gogs/setup
@@ -19,4 +19,5 @@ 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/