X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=store.cc;h=8f2c8b328c2d7cacea3ca4c3683993532d1a7980;hb=def20364a3596d7b1fa4a07f3d3ee056cfff2d1e;hp=eb1c6dae9bcaea98735c68534f13b52b09570fb7;hpb=82025c010191040717501135d2758db7f5e9fa62;p=cumulus.git diff --git a/store.cc b/store.cc index eb1c6da..8f2c8b3 100644 --- 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, - O_WRONLY | O_CREAT, 0600, TAR_VERBOSE | TAR_GNU) == -1) + O_WRONLY | O_CREAT, 0666, TAR_VERBOSE | TAR_GNU) == -1) throw IOException("Error opening Tarfile"); }