summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2005-10-22 02:41:51 +0000
committerbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2005-10-22 02:41:51 +0000
commitcf261678220d5fd9fe5683cf937f185719ae4d8e (patch)
treebac86906b82830a01bf889d37e9c053c19d676b1
parent4509fa6e203349c86dd5f343a040ec02bc54f3ae (diff)
downloadrdiff-backup-cf261678220d5fd9fe5683cf937f185719ae4d8e.tar.gz
added os.makedirs to fix --create-full-path bug
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@644 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
-rw-r--r--rdiff-backup/CHANGELOG3
-rw-r--r--rdiff-backup/rdiff_backup/Security.py2
2 files changed, 4 insertions, 1 deletions
diff --git a/rdiff-backup/CHANGELOG b/rdiff-backup/CHANGELOG
index 9d387a2..2d7244a 100644
--- a/rdiff-backup/CHANGELOG
+++ b/rdiff-backup/CHANGELOG
@@ -15,6 +15,9 @@ with high permissions (like suid) to some FAT systems.
New in v1.0.2 (????/??/??)
--------------------------
+Fix for spurious security violation from --create-full-path (reported
+by Mike Bydalek).
+
Fix for bug 14545 which was introduced in version 1.0.1: Quoting
caused a spurious security violation. (Important for Mac OS X)
diff --git a/rdiff-backup/rdiff_backup/Security.py b/rdiff-backup/rdiff_backup/Security.py
index eddd2d8..44d68ba 100644
--- a/rdiff-backup/rdiff_backup/Security.py
+++ b/rdiff-backup/rdiff_backup/Security.py
@@ -45,7 +45,7 @@ file_requests = {'os.listdir':0, 'C.make_file_dict':0, 'os.chmod':0,
'os.chown':0, 'os.remove':0, 'os.removedirs':0,
'os.rename':0, 'os.renames':0, 'os.rmdir':0, 'os.unlink':0,
'os.utime':0, 'os.lchown':0, 'os.link':1, 'os.symlink':1,
- 'os.mkdir':0}
+ 'os.mkdir':0, 'os.makedirs':0}
def initialize(action, cmdpairs):