[Piuparts-devel] Bug#573904: piuparts depends on a correct umask to build piupart-depends-dummy

Thomas Preud'homme thomas.preudhomme at celest.fr
Sun Mar 14 21:49:26 UTC 2010


Package: piuparts
Version: 0.38
Severity: normal

When building piuparts-depends-dummy, piuparts create files with permission
depending on current umask. This causes piuparts-depends-dummy to fail
building with a umask of 027 with the error:

4m59.8s DEBUG: Starting command: ['dpkg-deb', '-b', '/tmp/tmpxqYpQK/piuparts-depends-dummy']
4m59.8s DUMP:
dpkg-deb: control directory has bad permissions 750 (must be >=0755 and <=0775)
dpkg-deb: building package `piuparts-depends-dummy' in `/tmp/tmpxqYpQK/piuparts-depends-dummy.deb'.
4m59.8s ERROR: Command failed (status=2): ['dpkg-deb', '-b', '/tmp/tmpxqYpQK/piuparts-depends-dummy']
dpkg-deb: control directory has bad permissions 750 (must be >=0755 and <=0775)
dpkg-deb: building package `piuparts-depends-dummy' in `/tmp/tmpxqYpQK/piuparts-depends-dummy.deb'.

I think, without being sure, that setting correct permission for the control
file created line 441 of piuparts.py would suffice to eliminate the bug.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages piuparts depends on:
ii  apt                        0.7.25.3      Advanced front-end for dpkg
ii  debootstrap                1.0.22        Bootstrap a basic Debian system
ii  lsb-release                3.2-23        Linux Standard Base version report
ii  lsof                       4.81.dfsg.1-1 List open files
ii  python                     2.5.4-9       An interactive high-level object-o
ii  python-debian              0.1.14        Python modules to work with Debian

piuparts recommends no packages.

Versions of packages piuparts suggests:
ii  ghostscript                  8.71~dfsg-2 The GPL Ghostscript PostScript/PDF
pn  python-rpy                   <none>      (no description available)

-- no debconf information





More information about the Piuparts-devel mailing list