Re: Web server files ownership?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



> 
> File permissions are 574.  Note that owners are NOT required to have higher 
> permissions than groups!
> 
> find /var/www/html -type f -exec chmod 574 {} \;

Normal files really shouldn't have their execute bit set. There is no
need to (since they aren't going to be executed) and just sets up
security issues If you want to have only group write permissions on
normal files you should set the permissions to 464 (-r--rw-r--). 

P.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux