summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8f1d2e6)
raw | patch | inline | side by side (parent: 8f1d2e6)
author | Junio C Hamano <junkio@cox.net> | |
Sat, 7 Jan 2006 23:11:11 +0000 (15:11 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 7 Jan 2006 23:11:11 +0000 (15:11 -0800) |
Earlier commit 38ec15a973a1f075f0d94d130b0ef279562921cd 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>
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>
tar-tree.c | patch | blob | history |
diff --git a/tar-tree.c b/tar-tree.c
index 96bd1438d9033e5bca3841fb85a531ea27070faf..f749d4b869ff9cf97506bc8eb3d401ec8b8ff9e3 100644 (file)
--- a/tar-tree.c
+++ b/tar-tree.c
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();