Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 207083 Details for
Bug 289047
app-backup/backintime: Information disclosure when removing old backups (CVE-2009-3611)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
backintime-0.9.26_snapshots.patch
backintime-0.9.26_snapshots.patch (text/plain), 1.11 KB, created by
Alex Legler (RETIRED)
on 2009-10-14 13:59:42 UTC
(
hide
)
Description:
backintime-0.9.26_snapshots.patch
Filename:
MIME Type:
Creator:
Alex Legler (RETIRED)
Created:
2009-10-14 13:59:42 UTC
Size:
1.11 KB
patch
obsolete
>Patch for bug 289047, taken from Fedora's backintime-0.9.26-3.fc10.src.rpm. > >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 ):
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 289047
: 207083