diff -Nru sbackup-0.11.4/debian/changelog sbackup-0.11.4/debian/changelog --- sbackup-0.11.4/debian/changelog 2011-02-24 09:03:18.000000000 -0500 +++ sbackup-0.11.4/debian/changelog 2011-05-19 22:28:50.000000000 -0400 @@ -1,3 +1,10 @@ +sbackup (0.11.4-0ubuntu3) natty; urgency=low + + * Chmod 0700 the temporary directory containing the includes/excludes + lists (LP: #785495) + + -- Simon Deziel Thu, 19 May 2011 22:26:26 -0400 + sbackup (0.11.4-0ubuntu2) natty; urgency=low * Correctly set package format to 3.0 (quilt). diff -Nru sbackup-0.11.4/debian/patches/debian-changes-0.11.4-0ubuntu3 sbackup-0.11.4/debian/patches/debian-changes-0.11.4-0ubuntu3 --- sbackup-0.11.4/debian/patches/debian-changes-0.11.4-0ubuntu3 1969-12-31 19:00:00.000000000 -0500 +++ sbackup-0.11.4/debian/patches/debian-changes-0.11.4-0ubuntu3 2011-05-19 22:31:44.000000000 -0400 @@ -0,0 +1,39 @@ +Description: Upstream changes introduced in version 0.11.4-0ubuntu3 + This patch has been created by dpkg-source during the package build. + Here's the last changelog entry, hopefully it gives details on why + those changes were made: + . + sbackup (0.11.4-0ubuntu3) natty; urgency=low + . + * Chmod 0700 the temporary directory containing the includes/excludes + lists (LP: #785495) + . + The person named in the Author field signed this changelog entry. +Author: Simon Deziel +Bug-Ubuntu: https://bugs.launchpad.net/bugs/785495 + +--- +The information above should follow the Patch Tagging Guidelines, please +checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here +are templates for supplementary fields that you might want to add: + +Origin: , +Bug: +Bug-Debian: http://bugs.debian.org/ +Bug-Ubuntu: https://launchpad.net/bugs/ +Forwarded: +Reviewed-By: +Last-Update: + +--- sbackup-0.11.4.orig/src/sbackup/core/ConfigManager.py ++++ sbackup-0.11.4/src/sbackup/core/ConfigManager.py +@@ -1333,6 +1333,9 @@ class ConfigurationFileHandler(object): + if not os.path.exists(tempdir) : + os.mkdir(tempdir) + ++ if (os.stat(tempdir).st_mode & 0777) != 0700: ++ os.chmod(tempdir,0700) ++ + return tempdir + + def get_profilename(self, conffile): diff -Nru sbackup-0.11.4/debian/patches/series sbackup-0.11.4/debian/patches/series --- sbackup-0.11.4/debian/patches/series 1969-12-31 19:00:00.000000000 -0500 +++ sbackup-0.11.4/debian/patches/series 2011-05-19 22:31:44.000000000 -0400 @@ -0,0 +1 @@ +debian-changes-0.11.4-0ubuntu3