From 5c1c2b59941983f6658331a7243268ec229ce52c Mon Sep 17 00:00:00 2001 From: dgaudet Date: Sun, 29 Jan 2006 21:36:03 +0000 Subject: 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 --- rdiff-backup/CHANGELOG | 5 ++++- rdiff-backup/rdiff_backup/Security.py | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) 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", -- cgit v1.2.1