From: Junio C Hamano Date: Wed, 19 Jul 2006 22:33:48 GMT Subject: Re: [PATCH] tar-tree: add the "tar.applyUmask" config option Message-ID: <7vd5c1jkc3.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20060719214025.GA10997@1wt.eu> Willy Tarreau writes: > While I agreed with Linus that the very permissive file modes set in tar > archives were not particularly a problem for kernel users, I'm finding > that for some other projects it sometimes becomes really annoying, to > the point that I finally considered using a plain tar instead. This is a > shame because tar-tree is really fast an powerful, and I like its ability > to enforce permissions when those of the local dir might be wrong for > various reasons. I do not have problem with an option to allow a non-default behaviour in this area. Maybe we might want to be able to set the mask in the configuration file as well, perhaps like... tar.umask = user ;# use from the current process' tar.umask = 0 ;# same as default tar.umask = 002 ;# group friendly