On Fri, May 18, 2007 at 06:03:17PM +0200, Francesco Poli <[EMAIL PROTECTED]> 
was heard to say:
> On Thu, 17 May 2007 20:57:30 -0700 Daniel Burrows wrote:
> 
> > On Tue, May 15, 2007 at 09:33:38PM +0200, Francesco Poli
> > <[EMAIL PROTECTED]> was heard to say:
> [...]
> > > Indeed, if explicit permission setting is actually common practice
> > > for other programs, it would be a nice thing to have for aptitude
> > > too...
> > 
> > I haven't read their code -- but if this were *not* the case, I
> > would expect you to hit permission problems all the time when running
> > with umask 007.  (e.g., think about apt and dpkg cache files, which
> > you can apparently read without trouble)
> 
> Well, maybe checking their code or asking their maintainers/authors
> would be a good idea anyway...

  JFTR, apt does indeed explicitly chmod all sorts of files to 0644,
including one with the comment that

    // fchmod deals with umask and fchown sets the ownership

  Daniel


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to