webuser, why?
Posted: Tue Mar 29, 2005 8:12 pm
Hi,
I am new to ZM and still on the installation process.
Why does ZM really needs a webuser and webgroup?
all HTTP files is chowned by the webserver user and webserver group.
From a security point of view, this is very wrong. With this the http server may [over]write any file including php and cgi scripts.
All it is needed is that the webserver have read access to this files.
My suggestion is that this files be 0644 with the owner root and group the webgroup (apache).
If for some reason is there a need to write over a file (or dir) this gets to be 0664.
I am new to ZM and still on the installation process.
Why does ZM really needs a webuser and webgroup?
all HTTP files is chowned by the webserver user and webserver group.
From a security point of view, this is very wrong. With this the http server may [over]write any file including php and cgi scripts.
All it is needed is that the webserver have read access to this files.
My suggestion is that this files be 0644 with the owner root and group the webgroup (apache).
If for some reason is there a need to write over a file (or dir) this gets to be 0664.