Re: Making files readable for the webserver
On Thu, Jul 26, 2001 at 06:28:52AM +0200, Simon Richter wrote:
> Hi,
>
> I have a package (uprecords-cgi) which has some config files that need to
> be readable for the webserver (specifically, for a CGI script). Is there
> any definition how the permissions should look like (644 root.root, 640
> root.www-data, ...)?
Unless there is security sensetive data in there, I'd suggest 644. Config
files that are not world readable are quite annoying.
As for the group, I figured that the www-data group was mostly for the
actual files being served rather than the files used by the webserver.
for example, all apaches config files (at least on this machine) are 644
root.root.
HTH,
--
Martijn van Oosterhout <kleptog@svana.org>
http://svana.org/kleptog/
> It would be nice if someone came up with a certification system that
> actually separated those who can barely regurgitate what they crammed over
> the last few weeks from those who command secret ninja networking powers.
Reply to: