I've a question concerning the Jail explained later:
- User to be jailed:
foo
- Jail Directory:
/mnt/foo-jail
- Home directory of foo:
/mnt/foo-jail/foo-home
Everything is ok. Jail is up and the user is connecting correctly.
- The problem is: "foo" has not write-permission on his Jail directory, but he has write-permission on his Home directory. When he connects to my server, he is redirected to /mnt/foo-jail (his Jail) and not in his Home (/mnt/foo-jail/foo-home) where he can write;
How can I resolv this problem? He cannot make CHDIR to move among folders, but He must be redirected to his own Home Dir.
Thank you very very much for your help !!!