[Pkg-bazaar-maint] Bug#470494: Bug#470494: bzr-builddeb: Permissions of unpacked files don't respect umask
James Westby
jw+debian at jameswestby.net
Wed Mar 19 21:36:27 UTC 2008
On Tue, 2008-03-11 at 16:46 +0100, Sjoerd Simons wrote:
> Package: bzr-builddeb
> Version: 0.92
> Severity: normal
>
> Hi,
>
> When unpacking a tarball with normal tar the permissions of the tarballs
> contents are filtered through the set umask. So for example directories in
> the tarball with permission 777 become 755 when your umask is the standard
> 022. When bzr-builddeb unpacks upstream tarballs this isn't the case though.
>
> This is a bit annoying as the make dist process of autoconf sets directories
> in the tarball to 0777. Resulting in world writable directories when building
> a package :(
Thanks for the bug report. I am not going to fix this in the current
upload I'm afraid.
builddeb uses python's tarfile, and I can't see a way to either
give it a umask, or make it use the users.
Perhaps I can fix this by chmodding things afterwards, but I
would rather not go to that effort now.
Thanks,
James
More information about the Pkg-bazaar-maint
mailing list