From 867f46076ed5fe0ce472f77eb17458ed3b317610 Mon Sep 17 00:00:00 2001 From: randx Date: Sun, 26 Aug 2012 01:40:01 +0300 Subject: [PATCH] No need to chown hooks in backup script any mroe --- lib/tasks/gitlab/backup.rake | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/tasks/gitlab/backup.rake b/lib/tasks/gitlab/backup.rake index d9053c23..8e2fa2c0 100644 --- a/lib/tasks/gitlab/backup.rake +++ b/lib/tasks/gitlab/backup.rake @@ -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