lib/imap/backup/configuration/store.rb in imap-backup-1.0.17 vs lib/imap/backup/configuration/store.rb in imap-backup-1.1.0

- old
+ new

@@ -25,12 +25,9 @@ def path File.dirname(pathname) end def save - if File.directory?(path) - Utils.check_permissions path, 0700 - end mkdir_private path remove_modified_flags remove_deleted_accounts File.open(pathname, 'w') { |f| f.write(JSON.pretty_generate(data)) } FileUtils.chmod 0600, pathname