Bug#531770: perl-modules: dpkg-source -x broken in file systems with ACLs due to File::Temp

Russ Allbery rra at debian.org
Wed Jun 3 22:00:55 UTC 2009


Package: perl-modules
Version: 5.10.0-22
Severity: normal

windlord:~rra/home/tmp> dpkg-source -x *.dsc
dpkg-source: warning: extracting unsigned source package (libafs-perl_2.6.1-1.ds
c)
dpkg-source: extracting libafs-perl in libafs-perl-2.6.1
dpkg-source: info: unpacking libafs-perl_2.6.1.orig.tar.gz
Error in tempdir() using /afs/ir.stanford.edu/users/r/r/rra/home/tmp/libafs-perl
_2.6.1.orig.tar.gz.tmp-extract.XXXXX: Parent directory (/afs/ir.stanford.edu/use
rs/r/r/rra/home/tmp) is not writable
 at /usr/share/perl5/Dpkg/Source/Archive.pm line 111
windlord:~rra/home/tmp> pwd
/afs/ir.stanford.edu/users/r/r/rra/home/tmp
windlord:~rra/home/tmp> echo foo > bar
windlord:~rra/home/tmp> cat bar
foo

It looks like Dpkg::Source::Archive just calls tempfile directly.

I suspect the code is using something like the -w file test, which is 
Broken As Designed unless you put "use filetest 'access'" at the top of
the module.  perldoc filetest has more details.

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

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/bash

Versions of packages perl-modules depends on:
ii  perl                          5.10.0-22  Larry Wall's Practical Extraction 

perl-modules recommends no packages.

perl-modules suggests no packages.

-- no debconf information






More information about the Perl-maintainers mailing list