Re: Web server files ownership?

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



On Friday, July 7, 2017 6:45:48 AM CDT Pete Biggs wrote:
> > 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

Yep, good catch.  eXecute is not normally required on HTML files.

-- 
Bill Gee

_______________________________________________
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