{"thread":{"id":"2995","subject":"[PATCH] tar-tree: finish honoring extractor's umask in git-tar-tree.","startedAt":"2006-01-07T23:21:46Z","lastAt":"2006-01-07T23:21:46Z","messageCount":1,"participants":["Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"14272","messageId":"7vace7aak5.fsf@assigned-by-dhcp.cox.net","threadId":"2995","inReplyTo":null,"subject":"[PATCH] tar-tree: finish honoring extractor's umask in git-tar-tree.","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2006-01-07T23:21:46Z","receivedAt":"2006-01-07T23:21:46Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Earlier commit 38ec15a973a1f075f0d94d130b0ef279562921cd forgot\nto apply the same principle of not forcing go-w to the base\ndirectory when specified.\n\nSigned-off-by: Junio C Hamano <junkio@cox.net>\n\n---\n * This will be in fixes branch to be slurped into both maint\n   and master.  Please do not extract the kernel tarball as root\n   user, especially if you do not know how tar command works for\n   root user by default (hint: --no-same-permissions).\n\n tar-tree.c |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\n3ac0ebbba4d2d47ca2f4a674afead830f76ca256\ndiff --git a/tar-tree.c b/tar-tree.c\nindex 96bd143..f749d4b 100644\n--- a/tar-tree.c\n+++ b/tar-tree.c\n@@ -433,7 +433,7 @@ int main(int argc, char **argv)\n \t\tarchive_time = time(NULL);\n \tif (basedir)\n \t\twrite_header((unsigned char *)\"0\", TYPEFLAG_DIR, NULL, NULL,\n-\t\t\tbasedir, 040755, NULL, 0);\n+\t\t\tbasedir, 040777, NULL, 0);\n \ttraverse_tree(buffer, size, NULL);\n \tfree(buffer);\n \twrite_trailer();\n-- \n1.0.7-g0263\n"}]}