Who should own html files?

Arthur Pemberton pemboa at gmail.com
Tue Jun 20 06:33:23 UTC 2006


On 6/20/06, Knute Johnson <knute at frazmtn.com> wrote:
> I'm setting up my HTTP server and I'm not sure who should own my html
> files.  These are not user files but the files I keep in my document
> root, /var/www/html.  Currently they are owned by root:root.
>
> What about cgi script files in /var/www/cgi-bin?  I wouldn't think
> you would want them owned by root?
>
> Thanks,
>
> --
> Knute Johnson
> Molon Labe...
>

You don't want any of those files owned by root. Ideally, they should
be owned by the user who will be editing them. Otherwise, you can let
them be owned by apache (or whatever your httpd is running as)
-- 
To be updated...




More information about the fedora-list mailing list