Commit f4175219fb7a1cb93f7eed54bd6510a85345096e
1 parent
c816dcc1
Exists in
master
and in
4 other branches
Fix gitlab:check recommendation
Running the recommendation would give out: GNU find: paths must precede expression
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/tasks/gitlab/check.rake
... | ... | @@ -709,7 +709,7 @@ namespace :gitlab do |
709 | 709 | try_fixing_it( |
710 | 710 | "sudo chmod -R ug+rwX,o-rwx #{repo_base_path}", |
711 | 711 | "sudo chmod -R u-s #{repo_base_path}", |
712 | - "find -type d #{repo_base_path} -print0 | sudo xargs -0 chmod g+s" | |
712 | + "find #{repo_base_path} -type d -print0 | sudo xargs -0 chmod g+s" | |
713 | 713 | ) |
714 | 714 | for_more_information( |
715 | 715 | see_installation_guide_section "Gitolite" | ... | ... |