From c4284eff305335496e22e0c358cebdadc1bf8aff Mon Sep 17 00:00:00 2001 From: bescoto Date: Sat, 20 Aug 2005 06:35:24 +0000 Subject: Documentation fix git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@627 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109 --- rdiff-backup/rdiff_backup/Security.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/rdiff-backup/rdiff_backup/Security.py b/rdiff-backup/rdiff_backup/Security.py index 1159108..eddd2d8 100644 --- a/rdiff-backup/rdiff_backup/Security.py +++ b/rdiff-backup/rdiff_backup/Security.py @@ -37,11 +37,7 @@ disallowed_server_globals = ["server", "security_level", "restrict_path"] # Some common file commands we may want to check to make sure they are # in the right directory. Any commands accessing files that could be -# added to allowed_requests must be here. A few others have also been -# added---this is not a intended to be a complete list of course, just -# some support for the depreciated --restrict option when the -# security_level is "all" so you don't accidentally step out of the -# directory. +# added to allowed_requests must be here. # # The keys are files request, the value is the index of the argument # taking a file. @@ -49,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.lchown':0} + 'os.mkdir':0} def initialize(action, cmdpairs): -- cgit v1.2.1