-----BEGIN PGP SIGNED MESSAGE----- Branden Robinson, in an immanent manifestation of deity, wrote: >apt problem or perl problem? perl is shipping with a mode 600 executable; that >seems pretty weird to me but I try to keep my distance from perl. >[0] 1014 apocalypse ~ > ls -dl /usr/bin/perl-5.005 >-rw------- 1 root root 534844 Aug 19 04:29 /usr/bin/perl-5.005
It's not shipping with a 0600 executable. I just took the perl-5.005-base_5.005.03-4_i386.deb apart by hand to make sure: [0]~/tmp master% cp /debian2/debian/dists/potato/main/binary-i386/base/perl-5.005-base_5.005.03-4.deb . [0]~/tmp master% ar xv perl-5.005-base_5.005.03-4.deb x - debian-binary x - control.tar.gz x - data.tar.gz [0]~/tmp master% tar xzvf data.tar.gz ./ usr/ usr/bin/ usr/bin/perl5.00503 usr/bin/perl-5.005.dist ...elide... [0]~/tmp master% ls -l usr/bin total 1052 - -rwxr-xr-x 2 torin Debian 534844 Sep 22 00:32 perl-5.005.dist* - -rwxr-xr-x 2 torin Debian 534844 Sep 22 00:32 perl5.00503* Looks like appropriate permissions to me. The preinst isn't the culprit either: [0]~/tmp master% tar xzvf control.tar.gz ./ postinst preinst prerm md5sums control [0]~/tmp master% cat preinst #! /bin/sh # perl-5.005-base.preinst - called by dpkg before unpacking # written by Darren Stalder (whooptidoo!) # $Id: base.preinst,v 1.3 1999/07/06 14:41:36 torin Exp torin $ # set -e case "$1" in install|upgrade) dpkg --assert-support-predepends # finish up below ;; abort-upgrade) dpkg --assert-support-predepends exit 0 ;; *) echo "preinst called with unknown argument \`$1'" >&2 exit 1 ;; esac if [ -z $2 ] || dpkg --compare-versions $2 lt 5.005;then echo "This version of Perl is using the newer Berkeley DB 2 files." echo "They are incompatible with the Berkeley DB 1.85 files that" echo "you have (probably) been using." echo echo "Please use perl-5.004 to work with these db's until you can" echo "convert them over." echo echo "You can use Perl-5.004 to dump these databases and reload" echo "them with Perl-5.005." echo "Or you can use db_dump185(1) and db_load(1) utilities that" echo "come with the libc6 package." echo echo -n "Please press enter: " read yorn || true fi exit 0 # # end of perl-5.005-base.preinst So, if you're getting a Perl binary that's 0600, it's either you, apt-get, or dpkg. Darren - -- <[EMAIL PROTECTED]> <http://www.daft.com/~torin> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Darren Stalder/2608 Second Ave, @282/Seattle, WA 98121-1212/USA/+1-800-921-4996 @ Sysadmin, webweaver, postmaster for hire. C/Perl/CGI/Pilot programmer/tutor @ @ Make a little hot-tub in your soul. @ -----BEGIN PGP SIGNATURE----- Version: 2.6.3a Charset: noconv Comment: Processed by Mailcrypt 3.5.1, an Emacs/PGP interface iQCVAwUBN+s6WI4wrq++1Ls5AQHbgQQAognJ9Oiu1UFlLiBAxn8Gs8jJoIz/CepC w86BXoSljTK3aUrZgN45ArulsyRVpVmFx9ddMV8+oKyZOGfOAVdfzsVvcJAecTyk WdeDcxgqjf+SycOM7SKmo7u1fxRhEqEnf7ip7QgJQflmEtCsrkirBsJaO7E1Bjjq 8mMgkfOeso0= =5NB6 -----END PGP SIGNATURE-----