GIT 1.1.5
[gitweb.git] / tar-tree.c
index 96bd1438d9033e5bca3841fb85a531ea27070faf..f749d4b869ff9cf97506bc8eb3d401ec8b8ff9e3 100644 (file)
@@ -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();