summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordgaudet <dgaudet@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2006-01-29 21:36:03 +0000
committerdgaudet <dgaudet@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2006-01-29 21:36:03 +0000
commit5c1c2b59941983f6658331a7243268ec229ce52c (patch)
tree8cf6953012de18d9d1260996d0d856a5a4c2a124
parent7d7ade204caf2e31ee6db5dc28299e64438ca49b (diff)
downloadrdiff-backup-5c1c2b59941983f6658331a7243268ec229ce52c.tar.gz
Fix a security violation when restoring from a remote repository.
(Patch from Charles Duffy.) git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@752 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
-rw-r--r--rdiff-backup/CHANGELOG5
-rw-r--r--rdiff-backup/rdiff_backup/Security.py1
2 files changed, 5 insertions, 1 deletions
diff --git a/rdiff-backup/CHANGELOG b/rdiff-backup/CHANGELOG
index 9c740d2..a272df9 100644
--- a/rdiff-backup/CHANGELOG
+++ b/rdiff-backup/CHANGELOG
@@ -8,7 +8,10 @@ were used. Bug reported by Toni Price.
A few minor changes to help rdiff-backup back up to an SMB/CIFS share.
Thanks to Cengiz Gunay for testing.
-Fix an off-by-1 error in the "--remove-older-than nB" time specification.
+Fix a traceback due to an off-by-1 error in "--remove-older-than nB".
+
+Fix a security violation when restoring from a remote repository.
+(Patch from Charles Duffy.)
New in v1.1.5 (2006/01/01)
diff --git a/rdiff-backup/rdiff_backup/Security.py b/rdiff-backup/rdiff_backup/Security.py
index 55a8f37..545667d 100644
--- a/rdiff-backup/rdiff_backup/Security.py
+++ b/rdiff-backup/rdiff_backup/Security.py
@@ -143,6 +143,7 @@ def set_allowed_requests(sec_level):
"user_group.gid2gname"])
if sec_level == "read-only" or sec_level == "all":
l.extend(["fs_abilities.get_readonly_fsa",
+ "restore.MirrorStruct.get_increment_times",
"restore.MirrorStruct.set_mirror_and_rest_times",
"restore.MirrorStruct.set_mirror_select",
"restore.MirrorStruct.initialize_rf_cache",