diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-01-06 22:31:44 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-01-06 22:31:44 +0900 |
| commit | aa0a949cefd8c1a1519d892f87aac3119389e271 (patch) | |
| tree | d35c2cdde78516ef9d0e2b6ea500730937cc5dc6 /internal/pkg | |
| parent | ce0064384d782166b2b4d9277be49fd52872f34f (diff) | |
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 <cat@gensokyo.uk>
Diffstat (limited to 'internal/pkg')
| -rw-r--r-- | internal/pkg/tar.go | 2 |
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 } |
