浏览代码

docker: remove chown the git repos on startup (refs #4996). (#5390)

Ross Golder 5 年之前
父节点
当前提交
068e6ce2c9
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      docker/s6/gogs/setup

+ 0 - 1
docker/s6/gogs/setup

@@ -19,5 +19,4 @@ ln -sfn /data/gogs/data ./data
 # Backward Compatibility with Gogs Container v0.6.15
 # Backward Compatibility with Gogs Container v0.6.15
 ln -sfn /data/git /home/git
 ln -sfn /data/git /home/git
 
 
-chown -R git:git /data /app/gogs ~git/
 chmod 0755 /data /data/gogs ~git/
 chmod 0755 /data /data/gogs ~git/