From b883a516a281eeb1f8b13dc24a495334186acc9b Mon Sep 17 00:00:00 2001 From: Michael Vrable Date: Fri, 20 Jul 2007 10:17:18 -0700 Subject: [PATCH] Really fix the umask problem. The fix in bf947741ac8f65e74d594a1e14e94d90320b403e didn't entirely work. This should be better. --- store.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/store.cc b/store.cc index 8f2c8b3..77ab867 100644 --- a/store.cc +++ b/store.cc @@ -50,7 +50,7 @@ Tarfile::Tarfile(const string &path, const string &segment) : size(0), segment_name(segment) { - real_fd = open(path.c_str(), O_WRONLY | O_CREAT, 0600); + real_fd = open(path.c_str(), O_WRONLY | O_CREAT, 0666); if (real_fd < 0) throw IOException("Error opening output file"); -- 2.20.1