summaryrefslogtreecommitdiff
path: root/rdiff-backup/rdiff_backup/Globals.py
diff options
context:
space:
mode:
authorbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2003-04-05 02:00:22 +0000
committerbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2003-04-05 02:00:22 +0000
commitf2a81b8612ef203367f29d9c3e669c74ea41b009 (patch)
tree1e9c903aae91da011bf15701fe38d21bcb6c251d /rdiff-backup/rdiff_backup/Globals.py
parentc7d46be1a1a152baff70500448c6263dd2246a59 (diff)
downloadrdiff-backup-f2a81b8612ef203367f29d9c3e669c74ea41b009.tar.gz
--windows-mode now implies that permissions will not be changed
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@313 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/rdiff_backup/Globals.py')
-rw-r--r--rdiff-backup/rdiff_backup/Globals.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/rdiff-backup/rdiff_backup/Globals.py b/rdiff-backup/rdiff_backup/Globals.py
index 2516c13..9deaac4 100644
--- a/rdiff-backup/rdiff_backup/Globals.py
+++ b/rdiff-backup/rdiff_backup/Globals.py
@@ -53,6 +53,9 @@ process_gid = os.getgid()
# If true, when copying attributes, also change target's uid/gid
change_ownership = None
+# If true, when copying attributes, also change target's permission.
+change_permission = 1
+
# If true, change the permissions of unwriteable mirror files
# (such as directories) so that they can be written, and then
# change them back. This defaults to 1 just in case the process