summaryrefslogtreecommitdiff
path: root/rdiff-backup/rdiff_backup/Main.py
diff options
context:
space:
mode:
authorbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2003-09-13 22:26:09 +0000
committerbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2003-09-13 22:26:09 +0000
commit52950040bde00e779c1be65f759f646c9bf7e91b (patch)
treefec6c7b4f09fc640d8b8b45201bb0b9c72bd9e38 /rdiff-backup/rdiff_backup/Main.py
parent9d2c911ef7763ac7f2123878c002a059f2826708 (diff)
downloadrdiff-backup-52950040bde00e779c1be65f759f646c9bf7e91b.tar.gz
Yet another change dealing with unreadable directories
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@431 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/rdiff_backup/Main.py')
-rw-r--r--rdiff-backup/rdiff_backup/Main.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/rdiff-backup/rdiff_backup/Main.py b/rdiff-backup/rdiff_backup/Main.py
index ef3537d..6d5dec8 100644
--- a/rdiff-backup/rdiff_backup/Main.py
+++ b/rdiff-backup/rdiff_backup/Main.py
@@ -288,8 +288,7 @@ def backup_set_rbdir(rpin, rpout):
assert rpout.lstat(), (rpout.path, rpout.lstat())
if rpout.isdir() and not rpout.listdir(): # rpout is empty dir
- if Globals.change_permissions:
- rpout.chmod(0700) # just make sure permissions aren't too lax
+ rpout.chmod(0700) # just make sure permissions aren't too lax
elif not Globals.rbdir.lstat() and not force: Log.FatalError(
"""Destination directory