[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Rdiff-backup-commits] Changes to rdiff-backup/rdiff_backup/rpath.py
From: |
Ben Escoto |
Subject: |
[Rdiff-backup-commits] Changes to rdiff-backup/rdiff_backup/rpath.py |
Date: |
Wed, 17 Aug 2005 01:55:20 -0400 |
Index: rdiff-backup/rdiff_backup/rpath.py
diff -u rdiff-backup/rdiff_backup/rpath.py:1.83
rdiff-backup/rdiff_backup/rpath.py:1.84
--- rdiff-backup/rdiff_backup/rpath.py:1.83 Sun Aug 14 04:15:47 2005
+++ rdiff-backup/rdiff_backup/rpath.py Wed Aug 17 05:55:18 2005
@@ -283,6 +283,11 @@
self.data = {'type': None}
self.file = None
+ def make_zero_dir(self, dir_rp):
+ """Set self.data the same as dir_rp.data but with safe
permissions"""
+ self.data = dir_rp.data.copy()
+ self.data['perms'] = 0700
+
def __nonzero__(self): return 1
def __eq__(self, other):