Commit 867f46076ed5fe0ce472f77eb17458ed3b317610

Authored by randx
1 parent 2e836fa4

No need to chown hooks in backup script any mroe

Showing 1 changed file with 0 additions and 1 deletions   Show diff stats
lib/tasks/gitlab/backup.rake
@@ -145,7 +145,6 @@ namespace :gitlab do @@ -145,7 +145,6 @@ namespace :gitlab do
145 permission_commands = [ 145 permission_commands = [
146 "sudo chmod -R g+rwX #{Gitlab.config.git_base_path}", 146 "sudo chmod -R g+rwX #{Gitlab.config.git_base_path}",
147 "sudo chown -R #{Gitlab.config.ssh_user}:#{Gitlab.config.ssh_user} #{Gitlab.config.git_base_path}", 147 "sudo chown -R #{Gitlab.config.ssh_user}:#{Gitlab.config.ssh_user} #{Gitlab.config.git_base_path}",
148 - "sudo chown gitlab:gitlab /home/git/repositories/**/hooks/post-receive"  
149 ] 148 ]
150 permission_commands.each { |command| Kernel.system(command) } 149 permission_commands.each { |command| Kernel.system(command) }
151 puts "[DONE]".green 150 puts "[DONE]".green