Commit 3b04268f authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Merge branch 'use-sudo-with-incorrect-base-permissions' into 'master'

Suggest prefacing find command with sudo when base permissions are wrong

Closes #5872

See merge request !2299
parents 8d0886d6 e57b5062
......@@ -431,7 +431,7 @@ namespace :gitlab do
"sudo chmod -R ug+rwX,o-rwx #{repo_base_path}",
"sudo chmod -R ug-s #{repo_base_path}",
"find #{repo_base_path} -type d -print0 | sudo xargs -0 chmod g+s"
"sudo find #{repo_base_path} -type d -print0 | sudo xargs -0 chmod g+s"
see_installation_guide_section "GitLab Shell"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment