[Top][All Lists]

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

sgid flag and LD_LIBRARY_PATH

From: Marcus Brinkmann
Subject: sgid flag and LD_LIBRARY_PATH
Date: Fri, 24 Aug 2001 06:59:24 +0200
User-agent: Mutt/1.3.18i


xterm is 

-rwxr-sr-x    1 root     utmp       218920 Aug 24 05:45 /bin/X11/xterm

and I can run it as a user without special privileges, which means
that the linker does honor the LD_LIBRARY_PATH variable.

I tried a suid xterm binary (owned by root), and this doesn't work.
LD_LIBRARY_PATH is be ignored.

It doesn't seem to be right that the variable is not ignored for
a sgid binary, although the behaviour is certainly convenient. :)
Same for rxvt etc.  Am I correct that this is a bug?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]