Forum Moderators: phranque

Message Too Old, No Replies

access permission

apache access permission as nobody or root?

         

yoza

3:10 pm on Sep 1, 2004 (gmt 0)



Hello,
On my linux server i'll like to avoid users to see each other. I think it is in contradiction Since they host their web site in their personal folder so apache need to access.

To test i suppressed the public read and execute privileges in the folder of a user :

ls -l /home/
drwx--x--- 5 olivier olivier 208 2004-09-01 05:45 olivier/

the olivier apache folder is in /home/olivier/www

when i login with another user and try to list the apache olivier folder i get :

ls -l /home/olivier/www/
/usr/bin/ls: /home/olivier/www/: Permission denied

but apache continue to display the web page of olivier which is in /home/olivier/www/index.html

i thought apache wouldn't be able to access the folder /home/olivier/www since is the nobody user.

Can you help me to understand?

thanks