summaryrefslogtreecommitdiff
path: root/rdiff-backup/rdiff_backup/Globals.py
diff options
context:
space:
mode:
authorbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2005-10-20 20:20:29 +0000
committerbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2005-10-20 20:20:29 +0000
commit3ddac7b88ec498ed70ed177a830e943ae1c3a627 (patch)
treec860e93373fb44c3fd8b532677f267ca27265f30 /rdiff-backup/rdiff_backup/Globals.py
parent11ec1472b7b88996c8da45a1d737e2e59e554de0 (diff)
downloadrdiff-backup-3ddac7b88ec498ed70ed177a830e943ae1c3a627.tar.gz
Fix for bug #14799 -- now autodetect whether destination supports high permissions
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@639 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/rdiff_backup/Globals.py')
-rw-r--r--rdiff-backup/rdiff_backup/Globals.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/rdiff-backup/rdiff_backup/Globals.py b/rdiff-backup/rdiff_backup/Globals.py
index 710d79d..9a34238 100644
--- a/rdiff-backup/rdiff_backup/Globals.py
+++ b/rdiff-backup/rdiff_backup/Globals.py
@@ -216,6 +216,10 @@ fsync_directories = None
# If set, exit with error instead of dropping ACLs or ACL entries.
never_drop_acls = None
+# Apply this mask to permissions before chmoding. (Set to 0777 to
+# prevent highbit permissions on systems which don't support them.)
+permission_mask = 07777
+
def get(name):
"""Return the value of something in this module"""