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.
Comment on Re: Re: Re: chroot fails for no obvious reason
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?