Skip to content
Snippets Groups Projects
Commit 42dd006d authored by Riyad Preukschas's avatar Riyad Preukschas
Browse files

Small fixes to the installation guide and check task

parent 003c3121
No related branches found
No related tags found
1 merge request!2940Expanding repos and hooks paths in settings
Loading
Loading
@@ -147,7 +147,7 @@ Fix the directory permissions for the repositories:
# Make sure the repositories dir is owned by git and it stays that way
sudo chmod -R ug+rwX,o-rwx /home/git/repositories/
sudo chown -R git:git /home/git/repositories/
find /home/git/repositories -type d -print0 | sudo xargs -0 chmod g+s
find /home/git/repositories -type d -print0 | sudo xargs -0 chmod g+s
 
 
## Add domains to list to the list of known hosts
Loading
Loading
Loading
Loading
@@ -730,7 +730,7 @@ namespace :gitlab do
puts "no".red
try_fixing_it(
"sudo chmod -R ug+rwX,o-rwx #{repo_base_path}",
"sudo chmod -R u-s #{repo_base_path}",
"sudo chmod -R ug-s #{repo_base_path}",
"find #{repo_base_path} -type d -print0 | sudo xargs -0 chmod g+s"
)
for_more_information(
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment