Skip to content

Commit

Permalink
tar-tree: finish honoring extractor's umask in git-tar-tree.
Browse files Browse the repository at this point in the history
Earlier commit 38ec15a forgot
to apply the same principle of not forcing go-w to the base
directory when specified.

Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Junio C Hamano committed Jan 7, 2006
1 parent 8f1d2e6 commit 3ac0ebb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tar-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ int main(int argc, char **argv)
archive_time = time(NULL);
if (basedir)
write_header((unsigned char *)"0", TYPEFLAG_DIR, NULL, NULL,
basedir, 040755, NULL, 0);
basedir, 040777, NULL, 0);
traverse_tree(buffer, size, NULL);
free(buffer);
write_trailer();
Expand Down

0 comments on commit 3ac0ebb

Please sign in to comment.