bzr-builddeb doesn't respect umask when outputting .debs

Bug #523566 reported by Steve Langasek
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
brz-debian
Triaged
Medium
Unassigned
bzr-builddeb
Triaged
Medium
Unassigned
bzr-builddeb (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Binary package hint: bzr-builddeb

When building packages with bzr bd, the resulting .debs are output in the parent directory with permissions that don't match my shell's umask. This is inconvenient when my build directory happens to be on an NFS share, because I have to chmod the files before I can install the packages as root

ProblemType: Bug
Architecture: amd64
Date: Wed Feb 17 17:12:53 2010
DistroRelease: Ubuntu 10.04
Package: bzr-builddeb 2.2
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-13.18-generic
SourcePackage: bzr-builddeb
Uname: Linux 2.6.32-13-generic x86_64

Revision history for this message
Steve Langasek (vorlon) wrote :
Revision history for this message
James Westby (james-w) wrote :

Thanks for the report. It shouldn't be too hard to fix.

Thanks,

James

Changed in bzr-builddeb (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Changed in bzr-builddeb:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
TJ (tj) wrote :

3 1/2 years later ... still affecting Raring.

$ sudo dpkg -i ../simple-scan_3.8.0-0ubuntu2~tj_amd64.deb
[sudo] password for tj:
dpkg-split: error: unable to read part file `../simple-scan_3.8.0-0ubuntu2~tj_amd64.deb': Permission denied
dpkg: error processing ../simple-scan_3.8.0-0ubuntu2~tj_amd64.deb (--install):
 subprocess dpkg-split returned error exit status 2
Errors were encountered while processing:
 ../simple-scan_3.8.0-0ubuntu2~tj_amd64.deb

$ ls -l ../simple-scan_3.8.0-0ubuntu2~tj_amd64.deb
-rw------- 1 tj tj 242276 Jul 17 17:13 ../simple-scan_3.8.0-0ubuntu2~tj_amd64.deb

$ umask
0002
$ touch ../test-umask.tmp
$ ls -l ../test-umask.tmp
-rw-rw-r-- 1 tj tj 0 Jul 17 17:20 ../test-umask.tmp

Jelmer Vernooij (jelmer)
Changed in brz-debian:
status: New → Triaged
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.