mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-25 14:08:09 +00:00
entrypoint.sh: correct permission setting on uploads/
This commit is contained in:
parent
ead5ce8435
commit
77e80c64ea
@ -978,9 +978,9 @@ appSanitize () {
|
||||
chown -R ${GITLAB_USER}:${GITLAB_USER} ${GITLAB_BUILDS_DIR}
|
||||
|
||||
echo "Checking uploads directory permissions..."
|
||||
chmod -R 0750 ${GITLAB_DATA_DIR}/uploads/
|
||||
find ${GITLAB_DATA_DIR}/uploads -type f -exec chmod 0644 {} \;
|
||||
find ${GITLAB_DATA_DIR}/uploads -type d -not -path ${GITLAB_DATA_DIR}/uploads -exec chmod 0755 {} \;
|
||||
chmod 0750 ${GITLAB_DATA_DIR}/uploads/
|
||||
chown ${GITLAB_USER}:${GITLAB_USER} ${GITLAB_DATA_DIR}/uploads/
|
||||
|
||||
echo "Checking tmp directory permissions..."
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user