summaryrefslogtreecommitdiff
path: root/checkout-cache.c
diff options
context:
space:
mode:
authorLibravatar Linus Torvalds <torvalds@ppc970.osdl.org>2005-04-11 10:24:41 -0700
committerLibravatar Linus Torvalds <torvalds@ppc970.osdl.org>2005-04-11 10:24:41 -0700
commitcfd88e2b7a1a1d2b0f22173a5cc128adce7391e3 (patch)
tree10344b81045df0a2cea3e76d325df5156c0294ab /checkout-cache.c
parentAdd a COPYING notice, making it explicit that the license is GPLv2. (diff)
downloadtgif-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 cfbc47ee2d..73a1a8d668 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);
}
}