Hello.

Please, accept this patch, which checks for incorrect file owners:

*** rpath.py    Mon Dec 15 22:08:46 2008
--- rpath.py    Mon Dec 15 22:08:21 2008
***************
*** 787,793 ****
                        except AttributeError:
                                log.Log("Warning: lchown missing, cannot change 
ownership "
                                                "of symlink " + self.path, 2)
!               else: os.chown(self.path, uid, gid)
                self.data['uid'] = uid
                self.data['gid'] = gid

--- 787,795 ----
                        except AttributeError:
                                log.Log("Warning: lchown missing, cannot change 
ownership "
                                                "of symlink " + self.path, 2)
!               else:
!                       if (uid < 65535) and (gid < 65535):
!                         os.chown(self.path, uid, gid)
                self.data['uid'] = uid
                self.data['gid'] = gid


Without this patch rdiff-backup crashes on this files:

srv18 s # ls -la
...
prwsrws--- 1   10516750          256      0 Jan  1  1970 table_row_props.gif
crw---S--- 1 3414740985    226526504 0, 115 Sep  6  1944
table_split_cells.gif
...

I'm understand that this couldnt be, but there is. =)

-- 
С уважением, Бойков Александр
системный администратор "ТаймВэб"

http://www.timeweb.ru
[email protected]
ICQ: 494-963-351
+7 812 334-1520
+7 812 334-1530


_______________________________________________
rdiff-backup-users mailing list at [email protected]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Reply via email to