Add "git-push-script" to make a more regular interface
[gitweb.git] / apply.c
diff --git a/apply.c b/apply.c
index 701c01a3bcaecfd1e1d4ec3c8b96ab923e2c8c27..c87cbf9eb3c9c3cc3c836c9b60e0171d89eb75d2 100644 (file)
--- a/apply.c
+++ b/apply.c
@@ -1237,7 +1237,7 @@ static void create_subdirectories(const char *path)
                len = slash - path;
                memcpy(buf, path, len);
                buf[len] = 0;
-               if (mkdir(buf, 0755) < 0) {
+               if (mkdir(buf, 0777) < 0) {
                        if (errno != EEXIST)
                                break;
                }