Commit 3cc5e18e authored by owsla's avatar owsla

The retry without sticky bit message should indicate that it is a warning.


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@857 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent 01feb5c9
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment