in reply to Re: chroot fails for no obvious reason
in thread chroot fails for no obvious reason

Perhaps because you're doing them sequentially?

After you've chrooted, do you have a directory with that longer path below the directory that is now slash?

-- Randal L. Schwartz, Perl hacker

  • Comment on Re: Re: chroot fails for no obvious reason

Replies are listed 'Best First'.
Re: Re: Re: chroot fails for no obvious reason
by princepawn (Parson) on May 09, 2001 at 22:32 UTC
    That's a brilliant observation, but off-target. I took the "home" key-value pair out of the hash, so there was only one chroot call, and it still failed the same way.
      Then look at what chroot(2) says for "not owner" on your system. Since you don't give the architecture, we can't guess. And I don't find "not owner" as an errno string on Linux. Perhaps you're using BSD?

      -- Randal L. Schwartz, Perl hacker