diff options
author | owsla <owsla@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2006-12-29 16:10:15 +0000 |
---|---|---|
committer | owsla <owsla@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2006-12-29 16:10:15 +0000 |
commit | 11ac04d5be78aacfd394b4822095f4aeebe18d31 (patch) | |
tree | 27f1a6070df5d3754999fef9f557ce8dd98f17da /rdiff-backup/rdiff_backup/Globals.py | |
parent | 8eb79a57c18395864e6ef3c776a40d57d9743332 (diff) | |
download | rdiff-backup-11ac04d5be78aacfd394b4822095f4aeebe18d31.tar.gz |
Add global to avoid unnecessary system calls on systems where umask does not affect symlinks
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@775 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/rdiff_backup/Globals.py')
-rw-r--r-- | rdiff-backup/rdiff_backup/Globals.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rdiff-backup/rdiff_backup/Globals.py b/rdiff-backup/rdiff_backup/Globals.py index 952208c..c130143 100644 --- a/rdiff-backup/rdiff_backup/Globals.py +++ b/rdiff-backup/rdiff_backup/Globals.py @@ -221,6 +221,11 @@ never_drop_acls = None # prevent highbit permissions on systems which don't support them.) permission_mask = 07777 +# If true, symlinks permissions are affected by the process umask, and +# we should change the umask when creating them in order to preserve +# the original permissions +symlink_perms = None + def get(name): """Return the value of something in this module""" return globals()[name] |