[Zope-dev] CVS Head: "Error Value: iterable argument required" when adding objects

Jeremy Hylton jeremy at zope.com
Mon Jan 19 09:31:37 EST 2004


On Sun, 2004-01-18 at 16:02, Dieter Maurer wrote:
> Jeremy Hylton wrote at 2004-1-17 17:39 -0500:
> > ... "umask" setting ...
> >they only
> >do it when a sysadmin configures zdaemon to run with the --umask
> >argument.
> 
> That's not what the "zdaemon" documentation (as distributed with
> Zope 2.7b3) says:

Where is that documentation?  I'm not able to find it.

>   I read there: "zdaemon" sets the umask to "077" (preventing access
>   by group and other) when it starts a program as a daemon.

Indeed, I was confused about this corner of the code, too.  It calls
umask(022) by default.  The code is followed by an XXX comment that
mentions Stevens' recommendation to use umask(0).  Not sure why 022 was
chosen, except, perhaps, that it is often a reasonable umask().
  
>   One may want that the group should have more rights.
> 
>   Therefore, someone suggested an "umask" option to control
>   this "zdaemon" behaviour.

That's was just added on the head.

Jeremy





More information about the Zope-Dev mailing list