Fix gitlab:check recommendation
Running the recommendation would give out: GNU find: paths must precede expression
This commit is contained in:
parent
c816dcc105
commit
f4175219fb
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue