summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2005-10-22 02:43:56 +0000
committerbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2005-10-22 02:43:56 +0000
commit010db7d5d7cf4b47bdee0164ddc7d1fb9e8a3842 (patch)
treec999f236455c0af1d0e6830bfdcd98840ffe7282
parent183a46340cb95beec3b800583698fdb1ed026189 (diff)
downloadrdiff-backup-010db7d5d7cf4b47bdee0164ddc7d1fb9e8a3842.tar.gz
Add os.makedirs to prevent bug with --create-full-path
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/branches/r1-0@645 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 f38efbb..3efa017 100644
--- a/rdiff-backup/CHANGELOG
+++ b/rdiff-backup/CHANGELOG
@@ -1,6 +1,9 @@
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):