Suggest prefacing find command with sudo when base permissions are wrong

Closes #5872
This commit is contained in:
Stan Hu 2016-01-05 05:30:01 -08:00
parent 2459d51633
commit e57b506222

View file

@ -431,7 +431,7 @@ namespace :gitlab do
try_fixing_it(
"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"
)
for_more_information(
see_installation_guide_section "GitLab Shell"