projects
/
cumulus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Respect umask when creating backup files.
[cumulus.git]
/
store.cc
diff --git
a/store.cc
b/store.cc
index
eb1c6da
..
8f2c8b3
100644
(file)
--- a/
store.cc
+++ b/
store.cc
@@
-57,7
+57,7
@@
Tarfile::Tarfile(const string &path, const string &segment)
filter_fd = spawn_filter(real_fd);
if (tar_fdopen(&t, filter_fd, (char *)path.c_str(), NULL,
filter_fd = spawn_filter(real_fd);
if (tar_fdopen(&t, filter_fd, (char *)path.c_str(), NULL,
- O_WRONLY | O_CREAT, 06
00
, TAR_VERBOSE | TAR_GNU) == -1)
+ O_WRONLY | O_CREAT, 06
66
, TAR_VERBOSE | TAR_GNU) == -1)
throw IOException("Error opening Tarfile");
}
throw IOException("Error opening Tarfile");
}