PHP scripts owned by www-data

Posted by matnagel on Server Fault See other posts from Server Fault or by matnagel
Published on 2010-03-31T11:35:42Z Indexed on 2010/03/31 11:43 UTC
Read the original article Hit count: 415

I am always running php scripts on a dedicated server as user "webroot".

It would be easier for coding and administration if the scripts were owned by www-data, the apache2 user. Also feels more simple and clean.

There is no ftp on this box and there are no other users or sites.

Why not have the php scripts owned by www-data? If there is anything against it, what is the worst that can happen?

© Server Fault or respective owner

Related posts about apache2

Related posts about server-security