mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
added sanity checks for uploads directory
This commit is contained in:
parent
ef0a3392ca
commit
a7e578d693
@ -511,6 +511,10 @@ appSanitize () {
|
||||
chmod u+rwx,g=rx,o-rwx /home/git/data/gitlab-satellites
|
||||
chown -R git:git /home/git/data/gitlab-satellites
|
||||
|
||||
echo "Checking uploads directory permissions..."
|
||||
chmod -R u+rwX /home/git/data/uploads/
|
||||
chown git:git -R /home/git/data/uploads/
|
||||
|
||||
echo "Checking tmp directory permissions..."
|
||||
chmod -R u+rwX /home/git/data/tmp/
|
||||
chown git:git -R /home/git/data/tmp/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user