From aa0a949cefd8c1a1519d892f87aac3119389e271 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 6 Jan 2026 22:31:44 +0900 Subject: [PATCH] internal/pkg: do not clear execute bit Only write should be cleared here, clearing execute causes execArtifact to be unable to start anything since no Artifact is able to produce an executable file. Signed-off-by: Ophestra --- internal/pkg/tar.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/pkg/tar.go b/internal/pkg/tar.go index 5444aab..1ce3038 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 }