No need to chown hooks in backup script any mroe
This commit is contained in:
parent
2e836fa428
commit
867f46076e
1 changed files with 0 additions and 1 deletions
|
@ -145,7 +145,6 @@ namespace :gitlab do
|
|||
permission_commands = [
|
||||
"sudo chmod -R g+rwX #{Gitlab.config.git_base_path}",
|
||||
"sudo chown -R #{Gitlab.config.ssh_user}:#{Gitlab.config.ssh_user} #{Gitlab.config.git_base_path}",
|
||||
"sudo chown gitlab:gitlab /home/git/repositories/**/hooks/post-receive"
|
||||
]
|
||||
permission_commands.each { |command| Kernel.system(command) }
|
||||
puts "[DONE]".green
|
||||
|
|
Loading…
Reference in a new issue