aboutsummaryrefslogtreecommitdiff
path: root/checkout-cache.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-11 10:24:41 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-11 10:24:41 -0700
commitcfd88e2b7a1a1d2b0f22173a5cc128adce7391e3 (patch)
tree10344b81045df0a2cea3e76d325df5156c0294ab /checkout-cache.c
parent075b845a8572006d8c80f8500a0652166a0fba00 (diff)
downloadgit-cfd88e2b7a1a1d2b0f22173a5cc128adce7391e3.tar.gz
git-cfd88e2b7a1a1d2b0f22173a5cc128adce7391e3.tar.xz
Make the default directory permissions more lax.
After all, if you want to not allow others to read your stuff, set your "umask" appropriately or make sure the parent directories aren't readable/executable.
Diffstat (limited to 'checkout-cache.c')
-rw-r--r--checkout-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/checkout-cache.c b/checkout-cache.c
index cfbc47ee2..73a1a8d66 100644
--- a/checkout-cache.c
+++ b/checkout-cache.c
@@ -46,7 +46,7 @@ static void create_directories(const char *path)
len = slash - path;
memcpy(buf, path, len);
buf[len] = 0;
- mkdir(buf, 0700);
+ mkdir(buf, 0755);
}
}