Ownership of files

Hi,

Just wondering… who should own the files in web server root, is it root or a normal user?

/jlar

Anyone but the user apache runs under. Exception possible for files the webserver has to touch.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Either way. Generally speaking it’s a bad idea for the web server user
(‘wwwrun’ by default as I recall) to own the files, or be able to write
or execute them, but otherwise as long as that user can read them you
should be okay.

Good luck.

eeijlar wrote:
> Hi,
>
> Just wondering… who should own the files in web server root, is it
> root or a normal user?
>
> /jlar
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJODND3s42bA80+9kRAkDoAKCCn4Eczm+QCvnG34lf0sS+UjM6qgCfceJm
xYWVtiYgDcqEhhA8R8XXsyI=
=Zksw
-----END PGP SIGNATURE-----

You can also change the default root to your public_html if you are the only user or use it as a virtual directory.
Especially if your just doing personal stuff with the server

Geoff