Skip to content

tine: build with umask 022 - #314

Merged
daandemeyer merged 1 commit into
amutable-systems:mainfrom
martinpitt:dir-modes
Oct 15, 2026
Merged

daandemeyer merged 1 commit into
amutable-systems:mainfrom
martinpitt:dir-modes

Conversation

@martinpitt

@martinpitt martinpitt commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

images.md promises 0755 for directories, but Buck creates the directories in its outputs with its own umask. A builder with umask 0002 (Debian/Ubuntu default) produced group-writable directories in every image, which sshd refuses.


I have a test for this which adds a new group with a new isolation dir with umask 002, but that's awfully involved/verbose. So I settled for a simple one which fails (without the fix) on my system.

images.md promises 0755 for directories, but Buck creates the
directories in its outputs with its own umask. A builder with umask 0002
(Debian/Ubuntu default) produced group-writable directories in every
image, which sshd refuses.

Signed-off-by: Martin Pitt <[email protected]>
@martinpitt martinpitt mentioned this pull request Oct 15, 2026
2 tasks done
@daandemeyer
daandemeyer merged commit d5dc6b2 into amutable-systems:main Oct 15, 2026
2 checks passed
@martinpitt
martinpitt deleted the dir-modes branch October 16, 2026 02:54
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.

2 participants