this seems reasonable -- but your mailer seems to have damaged the patch... could you refresh against cvs head and resend?
thanks -dean On Tue, 16 May 2006, The Anarcat wrote: > [EMAIL PROTECTED] wrote: > > > > Maybe we should check fail/success when looking in that directory and if > > it fails, just give an error. If something is chmod 000, obviously > > somebody wants to keep everything out. > > I've done this: > > --- /tmp/backup.py Tue May 16 03:44:30 2006 > +++ backup.py Tue May 16 12:52:49 2006 > @@ -472,10 +472,14 @@ > while self.cache_indicies: self.shorten_cache() > while self.dir_perms_list: > dir_rp, perms = self.dir_perms_list.pop() > - dir_rp.chmod(perms) > + try: > + dir_rp.chmod(perms) > + except OSError: > + statmsg = "could not change permissions > of " + dir_rp.path + " to " + str(perms) + "\n" > + log.Log.log_to_file(statmsg) > + > Globals.client_conn.sys.stdout.write(statmsg) > self.metawriter.close() > metadata.ManagerObj.ConvertMetaToDiff() > - > if Globals.print_statistics: statistics.print_active_stats() > if Globals.file_statistics: statistics.FileStats.close() > statistics.write_active_statfileobj() > > > See http://wiki.koumbit.net/RdiffBackup > > Still waiting for the results of another sync run. > > A. > > _______________________________________________ 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
