> 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