[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

fakeroot && directory permissions



-----BEGIN PGP SIGNED MESSAGE-----

This is a bit of an odd deal.  Note the following:
{2}[0]/usr/local/scratch/darren/perl perv:-) ls -l perl-5.005.03/debian/tmp-doc/usr/man
total 7
drwxr-xr-x   2 torin    staff        2048 Apr 14 02:30 man1/
drwxr-xr-x   2 torin    staff        5120 Apr 14 02:30 man3/

Then in the perl-5.005-doc.deb:
{2}[0]/usr/local/scratch/darren/perl perv:-) dpkg-deb --contents perl-5.005-doc_5.005.03-1_all.deb | grep 'man[13]/$' 
drwxrwxrwx root/root         0 1999-04-14 02:30 usr/man/man1/
drwxrwxrwx root/root         0 1999-04-14 02:30 usr/man/man3/

What's this?

This used to work.  What I've changed is that I'm using fakeroot for the 
perl package instead of su -c ''.  It's only the files that Perl created 
that are wonky in the *.debs.  Note again that this doesn't happen when
I use su -c ''.

I just added the line:
find debian/{tmp,tmp-base,tmp-suid,tmp-debug,tmp-doc} -type d -print0 | xargs --null chmod u=rwx,go=rx
and permissions are much happier now.  It's still mysterious though.

Darren
- -- 
<torin@daft.com> <http://www.daft.com/~torin> <torin@debian.org> <torin@io.com>
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

iQCVAwUBNxR0XY4wrq++1Ls5AQEg3gQAn1fCoeiQqmURP0IGbMN8BB9sHdq0CM9F
ZMuuZr+dDRtMypg2S4YW4CQ0R/yjZxbhsbxxa31++p3jhxGhFTi1ttHYEcMDc+C6
EHdePkVd9mxAp8ppC8mC7unoN41lmLDEmQk/ZodsixTMWln7CYdPKX0PpJEQMdj4
AAUdM4pO7JY=
=WJpW
-----END PGP SIGNATURE-----


Reply to: