Subject: setgid dt eats LD_LIBRARY_PATH
To: None <port-mac68k@NetBSD.ORG>
From: Johnny Chi-Lung Lam <jlbg+@andrew.cmu.edu>
List: port-mac68k
Date: 11/04/1997 17:06:35
The default installation of dt is setgid utmp.  If I export the
variable LD_LIBRARY_PATH before starting dt, the shells spawned by dt
don't have LD_LIBRARY_PATH in their environment.  If I remove the
setgid bit on dt, then the subshells DO see LD_LIBRARY_PATH.  One last
thing --- this only happens to LD_LIBRARY_PATH, not to any other
environment variable that I set.

What's going on??

--
   Johnny C. Lam
   Department of Statistics                 lamj@stat.cmu.edu
   Carnegie Mellon University               http://www.stat.cmu.edu/~lamj/

                                @>---`---,----