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

Re: Experiences with compiling Debian

Mark Baker wrote:

[building as non-root]

>what if the package
>tries to set the ownership of a file from within another shell script or a
>perl script; how can you intercept that so it works properly?

Build a shared library which wraps all calls to chown(), then set
LD_PRELOAD to that library.  Should be pretty foolproof.
Thomas Koenig, Thomas.Koenig@ciw.uni-karlsruhe.de, ig25@dkauni2.bitnet.
The joy of engineering is to find a straight line on a double
logarithmic diagram.

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: