diff options
author | Stan Hu <stanhu@gmail.com> | 2016-01-05 05:30:01 -0800 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2016-01-05 05:30:01 -0800 |
commit | e57b506222f535774059cbb0f986621384c5a8f7 (patch) | |
tree | 604e6a8fe7916f5801fd0c23f53772234e24a66e /lib/tasks/gitlab/check.rake | |
parent | 2459d516337dbc37d9e653b4991e00cb9097aeb4 (diff) | |
download | gitlab-ce-e57b506222f535774059cbb0f986621384c5a8f7.tar.gz |
Suggest prefacing find command with sudo when base permissions are wrong
Closes #5872
Diffstat (limited to 'lib/tasks/gitlab/check.rake')
-rw-r--r-- | lib/tasks/gitlab/check.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/gitlab/check.rake b/lib/tasks/gitlab/check.rake index 0469c5a61c3..2dc2953e328 100644 --- a/lib/tasks/gitlab/check.rake +++ b/lib/tasks/gitlab/check.rake @@ -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" |