summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2005-08-20 06:35:24 +0000
committerbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2005-08-20 06:35:24 +0000
commitc4284eff305335496e22e0c358cebdadc1bf8aff (patch)
treedee6962df33bf0ab18ddaf559475eaa7b6692eab
parenta5dbd43d25339008dacfc7a1b2342589d24adf42 (diff)
downloadrdiff-backup-c4284eff305335496e22e0c358cebdadc1bf8aff.tar.gz
Documentation fix
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@627 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
-rw-r--r--rdiff-backup/rdiff_backup/Security.py8
1 files 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):