From: H. Peter Anvin Date: Sun, 02 Oct 2005 03:24:12 GMT Subject: Re: Honor extractor's umask in git-tar-tree. Message-ID: <433F52DC.5090906@zytor.com> In-Reply-To: <7vk6gx3vkt.fsf_-_@assigned-by-dhcp.cox.net> Junio C Hamano wrote: > The archive generated with git-tar-tree had 0755 and 0644 mode bits. > This inconvenienced the extractor with umask 002 by robbing g+w bit > unconditionally. Just write it out with loose permissions bits and > let the umask of the extractor do its job. I've thought that it would be nice if the files/directories were written into the archive with 0666/0777 permissions by default, and then extracted with the umask honoured. A special option then could be used to add files with special permissions, like files in .ssh, which *have* to be g-w or sshd will reject them. -hpa