diff --git a/backintime-0.9.26_snapshots.patch b/backintime-0.9.26_snapshots.patch new file mode 100644 index 0000000..6e13cad --- /dev/null +++ b/backintime-0.9.26_snapshots.patch @@ -0,0 +1,23 @@ +diff -Naur backintime-0.9.26.orig/common/snapshots.py backintime-0.9.26/common/snapshots.py +--- backintime-0.9.26.orig/common/snapshots.py 2009-05-18 10:24:21.000000000 +0200 ++++ backintime-0.9.26/common/snapshots.py 2009-09-02 21:17:30.000000000 +0200 +@@ -314,7 +314,7 @@ + return + + path = self.get_snapshot_path( snapshot_id ) +- cmd = "chmod -R a+rwx \"%s\"" % path ++ cmd = "find \"%s\" -type d -exec chmod u+wx {} \\;" % path + self._execute( cmd ) + cmd = "rm -rfv \"%s\"" % path + self._execute( cmd ) +@@ -574,8 +574,8 @@ + new_snapshot_path = self.get_snapshot_path( new_snapshot_id ) + + if os.path.exists( new_snapshot_path ): +- #self._execute( "find \"%s\" -type d -exec chmod +w {} \;" % new_snapshot_path ) +- self._execute( "chmod -R a+rwx \"%s\"" % new_snapshot_path ) ++ self._execute( "find \"%s\" -type d -exec chmod u+wx {} \\;" % new_snapshot_path ) ++ #self._execute( "chmod -R a+rwx \"%s\"" % new_snapshot_path ) + self._execute( "rm -rf \"%s\"" % new_snapshot_path ) + + if os.path.exists( new_snapshot_path ): diff --git a/backintime.spec b/backintime.spec index 6fcb972..aacfdf8 100644 --- a/backintime.spec +++ b/backintime.spec @@ -1,6 +1,6 @@ Name: backintime Version: 0.9.26 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Simple backup tool Group: Applications/Archiving @@ -239,9 +239,12 @@ rm -rf %{buildroot} %changelog -* Wed Sep 02 2009 Simon Wesp - 0.15-1 +* Wed Sep 02 2009 Simon Wesp - 0.9.26-3 - Add patch0 to secure backups +-* Fri Jul 24 2009 Fedora Release Engineering - 0.9.26-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + * Sat May 23 2009 Simon Wesp - 0.9.26-1 - New upstream release - Drop 'removecheck'-patch diff --git a/import.log b/import.log index 03d98fc..4e7930d 100644 --- a/import.log +++ b/import.log @@ -3,3 +3,4 @@ backintime-0_9_24-1_fc11:HEAD:backintime-0.9.24-1.fc11.src.rpm:1241781712 backintime-0_9_24-2_fc11:HEAD:backintime-0.9.24-2.fc11.src.rpm:1242147944 backintime-0_9_26-1_fc11:HEAD:backintime-0.9.26-1.fc11.src.rpm:1243084867 backintime-0_9_26-2_fc11:HEAD:backintime-0.9.26-2.fc11.src.rpm:1251919591 +backintime-0_9_26-3_fc11:HEAD:backintime-0.9.26-3.fc11.src.rpm:1251920218