httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <gst...@lyra.org>
Subject Re: File modes....
Date Sun, 05 Nov 2000 11:08:13 GMT
On Sun, Nov 05, 2000 at 02:59:17AM +0000, Tony Finch wrote:
> "Victor J. Orlikowski" <v.j.orlikowski@gte.net> wrote:
> >
> >      While playing with the logging patch, I found something that
> >didn't quite sit right. This may be a FAQ, but I'll ask it anyway.
> >Why would we ever go about creating a file with mode 0666 in the
> >server (especially a log file)?
> 
> Because it's the standard file creation mode; it's up to the admin to
> set an appropriate umask to reduce the modes to the level of security
> appropriate to the machine. It's the Unix Way.

Why should we give them the rope? It seems reasonable to at least make it
0660 to fix up the default case.

I mean, geez... we don't give them any specific control points to adjust
that value or doc to where/how to change it. Seems to just be asking for an
admin to get it wrong.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

Mime
View raw message