2009/8/27 Rémi Vanicat <vani...@debian.org>:

> When asking backintime to remove an old backup, it first change mode
> of all file of the backup to 777, allowing potentially every local
> user to read and modify those before they are deleted (and this could take 
> some
> time).

Will looking at this bug, I found that applying this:

--- common/snapshots.py~        2009-08-24 23:11:27.000000000 +0200
+++ common/snapshots.py 2009-08-28 09:48:57.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 )

to the snapshots.py file solve this problem but I also found others
call to chmod -R a+rwx or to
chmod a+w that should probably be investigated.



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to