summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-01-07 12:24:06 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-01-07 12:24:06 +0000
commit3b04268f6825776e12d3a7766eeb059f892765f3 (patch)
tree842ce12f1d5243e0f90b414d3c28df0688dd7a90
parent8d0886d6d0153f504bc3fbdd25180b80547f7243 (diff)
parente57b506222f535774059cbb0f986621384c5a8f7 (diff)
downloadgitlab-ce-3b04268f6825776e12d3a7766eeb059f892765f3.tar.gz
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
-rw-r--r--lib/tasks/gitlab/check.rake2
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"