[CentOS] /var/www/html group & owner

Hiep Nguyen

hiep at ee.ucr.edu
Tue Mar 4 20:18:56 UTC 2008


hi again,

[root at dev ~]# ls -all /var/www/
total 64
drwxr-xr-x  8 root      root 4096 Mar  3 11:44 .
drwxr-xr-x 21 root      root 4096 Mar  3 11:44 ..
drwxr-xr-x  2 root      root 4096 Jan 15 20:36 cgi-bin
drwxr-xr-x  3 root      root 4096 Mar  3 11:43 error
drwxr-xr-x  2 root      root 4096 Jan 15 20:36 html
drwxr-xr-x  3 root      root 4096 Mar  3 11:44 icons
drwxr-xr-x 14 root      root 4096 Mar  3 11:44 manual
drwxr-xr-x  2 webalizer root 4096 Mar  3 11:44 usage

currently, html is belonging to root group/owner and httpd is running 
under apache user/group.

what should i change html to, so that httpd can run safely under apache 
user/group???

or should i change httpd to run under a different user/group???

if i keep httpd running on apache user/group, should i change html to 
apache group/owner???

thank you for all your help.
t. hiep





More information about the CentOS mailing list