rdiff-backup-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Rdiff-backup-commits] rdiff-backup/rdiff_backup rpath.py


From: Andrew Ferguson
Subject: [Rdiff-backup-commits] rdiff-backup/rdiff_backup rpath.py
Date: Tue, 25 Dec 2007 00:28:04 +0000

CVSROOT:        /sources/rdiff-backup
Module name:    rdiff-backup
Changes by:     Andrew Ferguson <owsla> 07/12/25 00:28:04

Modified files:
        rdiff_backup   : rpath.py 

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

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/rdiff-backup/rdiff_backup/rpath.py?cvsroot=rdiff-backup&r1=1.115&r2=1.116

Patches:
Index: rpath.py
===================================================================
RCS file: /sources/rdiff-backup/rdiff-backup/rdiff_backup/rpath.py,v
retrieving revision 1.115
retrieving revision 1.116
diff -u -b -r1.115 -r1.116
--- rpath.py    24 Dec 2007 22:39:47 -0000      1.115
+++ rpath.py    25 Dec 2007 00:28:04 -0000      1.116
@@ -836,9 +836,9 @@
                                        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:




reply via email to

[Prev in Thread] Current Thread [Next in Thread]