Commit 867f46076ed5fe0ce472f77eb17458ed3b317610
1 parent
2e836fa4
Exists in
master
and in
4 other branches
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 | 145 | permission_commands = [ |
146 | 146 | "sudo chmod -R g+rwX #{Gitlab.config.git_base_path}", |
147 | 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 | 149 | permission_commands.each { |command| Kernel.system(command) } |
151 | 150 | puts "[DONE]".green | ... | ... |