remove ownership of gitlab_app_root
This commit is contained in:
parent
d4d931cac0
commit
b0967c9241
1 changed files with 1 additions and 1 deletions
2
debian/postinst
vendored
2
debian/postinst
vendored
|
@ -56,7 +56,7 @@ case "$1" in
|
||||||
chmod -R ug+rwX,o-rwx ${gitlab_repo_path}/
|
chmod -R ug+rwX,o-rwx ${gitlab_repo_path}/
|
||||||
chmod -R ug-s ${gitlab_repo_path}/
|
chmod -R ug-s ${gitlab_repo_path}/
|
||||||
find ${gitlab_repo_path}/ -type d -print0 | xargs -0 chmod g+s
|
find ${gitlab_repo_path}/ -type d -print0 | xargs -0 chmod g+s
|
||||||
for i in ${gitlab_app_root} ${gitlab_data_dir} ${gitlab_shell_root}; do
|
for i in ${gitlab_data_dir} ${gitlab_shell_root}; do
|
||||||
chown -R ${gitlab_user}: $i
|
chown -R ${gitlab_user}: $i
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue