summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorowsla <owsla@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2007-12-25 00:28:04 +0000
committerowsla <owsla@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2007-12-25 00:28:04 +0000
commit2d520f3d3f3a87eaf43124f6b67fec11e0770a4c (patch)
tree12c58e7ac72d94636670706e4062bbae3b89c240
parent3a31698f75794eee7d453c5d01fe6aa038e3f2b3 (diff)
downloadrdiff-backup-2d520f3d3f3a87eaf43124f6b67fec11e0770a4c.tar.gz
The retry without sticky bit message should indicate that it is a warning.
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@857 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
-rw-r--r--rdiff-backup/rdiff_backup/rpath.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/rdiff-backup/rdiff_backup/rpath.py b/rdiff-backup/rdiff_backup/rpath.py
index d6f3655..7b71ff1 100644
--- a/rdiff-backup/rdiff_backup/rpath.py
+++ b/rdiff-backup/rdiff_backup/rpath.py
@@ -836,9 +836,9 @@ class RPath(RORPath):
and not self.isdir():
# Some systems throw this error if try to set sticky bit
# on a non-directory. Remove sticky bit and try again.
- log.Log("Unable to set permissions of %s to %o - trying again"
- "without sticky bit (%o)" % (self.path, permissions,
- permissions & 06777), 2)
+ log.Log("Warning: Unable to set permissions of %s to %o - "
+ "trying again without sticky bit (%o)" % (self.path,
+ permissions, permissions & 06777), 2)
self.conn.os.chmod(self.path, permissions
& 06777 & Globals.permission_mask)
else: