[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LD_LIBRARY_PATH troubles
From: |
Marcus Brinkmann |
Subject: |
Re: LD_LIBRARY_PATH troubles |
Date: |
Tue, 12 Mar 2002 15:59:55 +0100 |
User-agent: |
Mutt/1.3.27i |
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 brinkmd@debian.org
Marcus Brinkmann GNU http://www.gnu.org marcus@gnu.org
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de
- LD_LIBRARY_PATH troubles, Ludovic Court?s, 2002/03/12
- Re: LD_LIBRARY_PATH troubles,
Marcus Brinkmann <=
- Re: LD_LIBRARY_PATH troubles, Ludovic Court?s, 2002/03/13
- Re: LD_LIBRARY_PATH troubles, Marcus Brinkmann, 2002/03/13
- Re: LD_LIBRARY_PATH troubles, Steven Barker, 2002/03/13
- Re: LD_LIBRARY_PATH troubles, Marcus Brinkmann, 2002/03/13
- Re: LD_LIBRARY_PATH troubles, Ludovic Court?s, 2002/03/14
- Re: LD_LIBRARY_PATH troubles, Marcus Brinkmann, 2002/03/14
- Re: LD_LIBRARY_PATH troubles, Antti-Juhani Kaijanaho, 2002/03/14
- Re: LD_LIBRARY_PATH troubles, Marcus Brinkmann, 2002/03/14
- Re: LD_LIBRARY_PATH troubles, Jeroen Dekkers, 2002/03/15
- Re: LD_LIBRARY_PATH troubles, Thomas Bushnell, BSG, 2002/03/14