Homedir inside homedir restricted access
- by blid
On my VPS i've installed debian, apache+php.
I have 2 users: foo and bar. Apache is configured to execute php files from
/home/foo/htdocs.
I created dir: /home/foo/htdocs/bar/ and made it home dir for user bar. Hover, I need to make a restriction: bar can't read, write or executre any files outside his own dir, but Apache has to be able…