X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=store.cc;h=77ab86740d5ce01a95d54016bb1f205a447faadc;hb=b883a516a281eeb1f8b13dc24a495334186acc9b;hp=8f2c8b328c2d7cacea3ca4c3683993532d1a7980;hpb=87c6a5ed4ec515c2e154f98529c1d2f077d2a7e4;p=cumulus.git 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");