On 25-11-2009 17:01:19 -0700, Denis Dupeyron wrote: > It looks like this question is still unanswered: > > On Thu, Nov 19, 2009 at 5:26 PM, Denis Dupeyron <calc...@gentoo.org> wrote: > >> How are dynamically linked set*id programs going to work?
Depends on how the host OS/libc handles this :) If you're root, you can install a program that any user can call and run as if that user were root. If you're a normal user, you just install a program that any user can call and run as if that user were you. If you refer to GNU glibc ignoring or greatly limiting variables like LD_LIBRARY_PATH, then there is no problem in that for Prefix, since these variables are considered harmful anyway. We don't use them. Prefix uses RUNPATH (RPATH) in ELF objects to have the loader find the correct libraries at runtime without any tricks. This is for instance handy when someone calls a binary from a Prefix without having properly initialised the Prefix environment. While this is not what we advise people to do, it can work fine for applications like subversion. -- Fabian Groffen Gentoo on a different level