Skip to content

fix: Fixes file permissions#527

Merged
eed3si9n merged 1 commit into
sbt:1.12.xfrom
eed3si9n:wip/atomically
Jun 17, 2026
Merged

fix: Fixes file permissions#527
eed3si9n merged 1 commit into
sbt:1.12.xfrom
eed3si9n:wip/atomically

Conversation

@eed3si9n

Copy link
Copy Markdown
Member

Fixes sbt/sbt#9340

Problem

The use of Files.createTempFile seems to create narrower file permissions than before.

Solution

Manually create a random file name, but use IO.touch.

**Problem**
The use of Files.createTempFile seems to create narrower file permissions than before.

**Solution**
Manually create a random file name, but use IO.touch.
@eed3si9n eed3si9n merged commit fed59c7 into sbt:1.12.x Jun 17, 2026
7 checks passed
@eed3si9n eed3si9n deleted the wip/atomically branch June 17, 2026 04:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[1.12.12] Missing read permissions for group/others for native packager's generated script

2 participants