diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2015-07-29 11:18:55 +0200 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2015-07-29 11:18:55 +0200 |
commit | c5aae3077335ab0eaafb73f51548d4c85413a1d1 (patch) | |
tree | 62bd9db97d6c60fcb0f4be8e8ac77226750fbb5e /lib/backup/manager.rb | |
parent | 5efb58b09a9c0c794a66ae0b46df4c7d58064b60 (diff) | |
download | gitlab-ce-c5aae3077335ab0eaafb73f51548d4c85413a1d1.tar.gz |
Set internal backup directory modes on create
This sidesteps problems with running 'chmod' on some CIFS mounts.
Diffstat (limited to 'lib/backup/manager.rb')
-rw-r--r-- | lib/backup/manager.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/backup/manager.rb b/lib/backup/manager.rb index 6fa2079d1a8..9ae4b346436 100644 --- a/lib/backup/manager.rb +++ b/lib/backup/manager.rb @@ -16,8 +16,6 @@ module Backup file << s.to_yaml.gsub(/^---\n/,'') end - FileUtils.chmod(0700, folders_to_backup) - # create archive $progress.print "Creating backup archive: #{tar_file} ... " orig_umask = File.umask(0077) |