Re: chroot bug, & Re: Ideas for v2.1

Paul Slootman (paul@waubel.ahwau.ahold.nl)
Thu, 13 Jun 1996 18:56:30 +0000 (ZOM)


ecki@tapac.inka.de (Bernd Eckenfels) wrote:

> This is the normal behaviour, since chroot(2) doesnt change the CWD, and
> chroot(8) doesnt do it eighter. Well, I guess it should be mentioned in the
> man-page.

I guess it should be fixed in chroot(8), as other systems *do* in fact
chdir to the new root. For example, in Solaris (excerpt from man page):

processes. Upon execution, the initial working directory is
newroot.

Paul Slootman

--
Murphy Software, Enschede, The Netherlands          There is no such thing
work: paul@wau.mis.ah.nl / paul@murphy.nl                as a coincidence.
home: paul@wurtel.hobby.nl