diff --git a/debian/postinst b/debian/postinst index b5275ec2c3..7cee1492a6 100755 --- a/debian/postinst +++ b/debian/postinst @@ -56,7 +56,7 @@ case "$1" in chmod -R ug+rwX,o-rwx ${gitlab_repo_path}/ chmod -R ug-s ${gitlab_repo_path}/ 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 done