aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'internal/pkg')
-rw-r--r--internal/pkg/tar.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/pkg/tar.go b/internal/pkg/tar.go
index 5444aab8..1ce30383 100644
--- a/internal/pkg/tar.go
+++ b/internal/pkg/tar.go
@@ -138,7 +138,7 @@ func (a *tarArtifact) Cure(c *CureContext) (err error) {
if f, err = os.OpenFile(
p,
os.O_CREATE|os.O_EXCL|os.O_WRONLY,
- header.FileInfo().Mode()&0400,
+ header.FileInfo().Mode()&0500,
); err != nil {
return
}