Hi,

On Sun, 18.07.2010 at 13:06:04 +0900, Junichi Uekawa <[email protected]> 
wrote:
> My initial reaction to this finding is that I advise you to note it
> down in *umask manpage* that you won't be able to read your own file
> if you run
> 
>      umask 007 
> 
> and run as root.

I generally find this strange, given the superuser powers of 'root'.

But then,

> pbuilder does set umask to 0022, and I can make cowbuilder do the
> same. Thoughts?

it would make the behaviour of the two consistent. I don't know who
else, except for users of pbuilder, want to use cowbuilder in the first
place, so expecting consistent behaviour between the two is imho a sane
idea.

I'd also appreciate appropriate comments in the man page of
pbuilder/cowbuilder, as this is imho counterintuitive for people who
usually have a umask 077 or 007 or similar, and there might have been a
reason why the user set a umask of 07 in the first place.



Kind regards,
--Toni++



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

Reply via email to