[CentOS] Groups

Kenneth Porter shiva at sewingwitch.com
Mon Jan 31 08:36:52 UTC 2011


--On Sunday, January 30, 2011 8:14 PM -0800 Jason S-M 
<slackmoehrle.lists at gmail.com> wrote:

> Secondarily /var/www/html/<my website> is owned by root:root, can I
> change this to something else so my sftp'ing is easier? apache:apache as
> owner?

I would avoid giving the apache user write access to anything under 
/var/www/html unless it absolutely needs it. That prevents a rogue break-in 
through the web server from rewriting your web content and creating a back 
door into your system.





More information about the CentOS mailing list