diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2015-07-29 12:18:55 +0300 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2015-07-29 12:18:55 +0300 |
commit | c5aae3077335ab0eaafb73f51548d4c85413a1d1 (patch) | |
tree | 62bd9db97d6c60fcb0f4be8e8ac77226750fbb5e /lib/backup/repository.rb | |
parent | 5efb58b09a9c0c794a66ae0b46df4c7d58064b60 (diff) |
Set internal backup directory modes on create
This sidesteps problems with running 'chmod' on some CIFS mounts.
Diffstat (limited to 'lib/backup/repository.rb')
-rw-r--r-- | lib/backup/repository.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/backup/repository.rb b/lib/backup/repository.rb index dfb2da9f84e..36d43d62982 100644 --- a/lib/backup/repository.rb +++ b/lib/backup/repository.rb @@ -130,7 +130,7 @@ module Backup def prepare FileUtils.rm_rf(backup_repos_path) - FileUtils.mkdir_p(backup_repos_path) + FileUtils.mkdir_p(backup_repos_path, mode: 0700) end def silent |