On Tue, Mar 12, 2002 at 03:03:14PM +0100, Ludovic Court�s wrote: > Hi, > > Is there something wrong with LD_LIBRARY_PATH under the Hurd? Actually, > depending on whether I am logged in as root or as a normal user, the linker > (as well as ldd) does or does not find the libraries. For instance, if I set > LD_LIBRARY_PATH to /X11R6/lib, then when I'm logged as root, everything is > fine (the linker finds the libraries for X clients), but as an unpriveleged > user, even though the variable is set, the libraries are not found. > > Is there an explaination to this behaviour, or did I miss something?
This is true for suid programs. If a program has the suid or sgid bit set, the linker will not search libraries in non-standard places because that is a security risk. We will have to resolve the libraries-in-non-standard-places some day one way or another, check the list archive of debian-hurd for details on how that is possible. Thanks, Marcus -- `Rhubarb is no Egyptian god.' Debian http://www.debian.org [EMAIL PROTECTED] Marcus Brinkmann GNU http://www.gnu.org [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.marcus-brinkmann.de _______________________________________________ Help-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/help-hurd
