From f4175219fb7a1cb93f7eed54bd6510a85345096e Mon Sep 17 00:00:00 2001 From: Kevin Lamontagne Date: Fri, 18 Jan 2013 14:13:38 -0500 Subject: [PATCH] Fix gitlab:check recommendation Running the recommendation would give out: GNU find: paths must precede expression --- lib/tasks/gitlab/check.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/gitlab/check.rake b/lib/tasks/gitlab/check.rake index 730a1fc5f2c..ab95c823df7 100644 --- a/lib/tasks/gitlab/check.rake +++ b/lib/tasks/gitlab/check.rake @@ -709,7 +709,7 @@ namespace :gitlab do try_fixing_it( "sudo chmod -R ug+rwX,o-rwx #{repo_base_path}", "sudo chmod -R u-s #{repo_base_path}", - "find -type d #{repo_base_path} -print0 | sudo xargs -0 chmod g+s" + "find #{repo_base_path} -type d -print0 | sudo xargs -0 chmod g+s" ) for_more_information( see_installation_guide_section "Gitolite"