Hi all,
I want to jail a process in his folder, so he can't have any link with a parent folder.
Ex. If i'm a hacker, and I can upload my script & and I can start it, i'll could go to ../, /etc/passwd, etc..
So what I did is to chroot the process :
I copied all libraries used by the process in his repertory, and then i did :
chroot /repertory/to/process ./myprocess
But... my process can still view parent folders...
How to do it ?
Thank you very much, and sorry for my bad english