> > Hi, > > > > Also, consider: > > % install -o games -g games -m 2755 blah /usr/bin/xxxx > > or > > % perl ./install.pl > > where ./install.pl contains the chmod/chown calls > > > Why? This is all already considered with the LD_PRELOAD library. > whatever perl does, it goes through that LD_PRELOAD lib.
Oh, and just after replying to your post, I realise that in a different sequence of events, there could be a problem: cat debian/somefile > tmp/debian/usr/bin/xxx chmod a+x tmp/debian/usr/bin/xxx ./tmp/debian/usr/bin/xxx Now if the chmod call in the middle _only_ writes the "fake permissiosn" to the $FAKEROOT file, the third command will not work. However, I planned to make the wrapper chmod function attempt to work as expected (as long as it can, above it can), in addition to logging the permissions to $FAKEROOT. So, there shouldn't be a problem. -- joost witteveen, [EMAIL PROTECTED] #!/usr/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj $/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1 lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/) #what's this? see http://www.dcs.ex.ac.uk/~aba/rsa/ -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .