소스 검색

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

This reverts commit 068e6ce2c995445f0ce1c10ee11816600b12a5fd.
Unknwon 6 년 전
부모
커밋
21ceba6cfd
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      docker/s6/gogs/setup

+ 1 - 0
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/