Re: Honor extractor's umask in git-tar-tree.
- From
- H. Peter Anvin <hpa@zytor.com>
- Date
- Oct 3, 2005, 18:32 UTC
- Message-ID
- <43417924.7000308@zytor.com>
- In-Reply-To
- <Pine.LNX.4.64.0510031113500.31407@g5.osdl.org>
Linus Torvalds wrote:
Show 12 quoted lines
> > Is it? The only place umask is mentioned in the man-page is > > --no-same-permissions > apply user?s umask when extracting files instead of recorded > permissions > > but if tar really does honor umask, then hey, that 0777/0666 is fine. > > (Ahh, googling a bit more, it appears that "-p" is default for root, which > explains why you'd need the "anti-flag"). >
Yeah, that assymetry is rather unfortunate.
-hpa