[Piuparts-commits] rev 679 - in trunk: . debian

Holger Levsen holger at alioth.debian.org
Tue Apr 20 13:26:22 UTC 2010


Author: holger
Date: 2010-04-20 13:26:20 +0000 (Tue, 20 Apr 2010)
New Revision: 679

Modified:
   trunk/debian/changelog
   trunk/piuparts.py
Log:
create temporary DEBIAN directory for the piuparts-depends-dummy package
with 0755 perms regardless of the umask of the calling shell. 
(Closes: #573904)

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2010-04-01 10:19:54 UTC (rev 678)
+++ trunk/debian/changelog	2010-04-20 13:26:20 UTC (rev 679)
@@ -35,6 +35,9 @@
       leaves files behind after purge. (Closes: #566599)
     - add to self.ignored_files: /var/lib/apt/lists/partial/.delete-me-later
     - add to self.ignored_patterns: /etc/init.d/.depend.*
+    - create temporary DEBIAN directory for the piuparts-depends-dummy package
+      with 0755 perms regardless of the umask of the calling shell. 
+      (Closes: #573904)
   * Add ${misc:Depends} to Depends in debian/control. 
   * Makefile: support python 2.5 and 2.6 instead of 2.4 and 2.5, adjust
     debian/control accordingly.

Modified: trunk/piuparts.py
===================================================================
--- trunk/piuparts.py	2010-04-01 10:19:54 UTC (rev 678)
+++ trunk/piuparts.py	2010-04-20 13:26:20 UTC (rev 679)
@@ -426,7 +426,7 @@
     # Inspired by pbuilder's pbuilder-satisfydepends-aptitude
 
     tmpdir = tempfile.mkdtemp(dir=settings.tmpdir)
-    os.makedirs(os.path.join(tmpdir, name, 'DEBIAN'))
+    os.makedirs(os.path.join(tmpdir, name, 'DEBIAN'), mode = 0755)
     control = deb822.Deb822()
     control['Package'] = name
     control['Version'] = '0.invalid.0'




More information about the Piuparts-commits mailing list