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

Re: apt-get and The_User



* Junichi Uekawa 

| In Mon, 27 Nov 2000 16:50:34 -0800 Mircea Luca <mluca@canada.com> cum veritate scripsit :
| 
| > 
| >  Well thanks for the answers but unfortunately looks like I'll have
| > to submit a bugreport-wishlist against apt-get.
| >  If I knew how to hack the code I wouldn't have asked here.:-)
| 
| I'd rather have liked a chroot for non-root, 
| or libfakechroot, if that's possible, 
| but I can't really think up of any way to do it.

Use a library which intercepts open, chdir, stat, lstat etc.  Load
that via LD_PRELOAD - it should be pretty easy.  A 'true' chroot for
non-root is a _very_ bad idea.

-- 

Tollef Fog Heen
Unix _IS_ user friendly... It's just selective about who its friends are.



Reply to: