X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=store.cc;h=8f2c8b328c2d7cacea3ca4c3683993532d1a7980;hb=bf947741ac8f65e74d594a1e14e94d90320b403e;hp=eb1c6dae9bcaea98735c68534f13b52b09570fb7;hpb=6c48cdf1bdd49f3913135da2f2b4cfd2248dc0a9;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"); }