summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rdiff-backup/CHANGELOG3
-rw-r--r--rdiff-backup/rdiff_backup/fs_abilities.py3
2 files changed, 4 insertions, 2 deletions
diff --git a/rdiff-backup/CHANGELOG b/rdiff-backup/CHANGELOG
index 04ccdb6..c5bed0d 100644
--- a/rdiff-backup/CHANGELOG
+++ b/rdiff-backup/CHANGELOG
@@ -1,6 +1,9 @@
New in v1.3.2 (????/??/??)
---------------------------
+Disable hardlinks by default on Windows when performing operations such as
+--compare, etc. Thanks to Ryan for the bug report. (Andrew Ferguson)
+
Change --min-file-size and --max-file-size to agree with man page. These
options no longer include files, and will only apply to regular files. Thanks
to Johannes Jensen for the suggestion. (Andrew Ferguson)
diff --git a/rdiff-backup/rdiff_backup/fs_abilities.py b/rdiff-backup/rdiff_backup/fs_abilities.py
index 4da53ba..3ecb8ed 100644
--- a/rdiff-backup/rdiff_backup/fs_abilities.py
+++ b/rdiff-backup/rdiff_backup/fs_abilities.py
@@ -646,8 +646,7 @@ def get_readonly_fsa(desc_string, rp):
the security module.
"""
- if os.name == 'nt' and (desc_string == 'source' or
- desc_string == 'rdiff-backup repository'):
+ if os.name == 'nt':
log.Log("Hardlinks disabled by default on Windows", 4)
Globals.set('preserve_hardlinks', 0)
return FSAbilities(desc_string).init_readonly(rp)