Skip to content

Conversation

@zanieb
Copy link
Member

@zanieb zanieb commented Nov 25, 2025

This removes executable permissions while retaining global read / global write.

It's been suggested we should use 0o644 instead, dropping the global write permissions (i.e., just the owner can write), but since we're taking an exclusive lock I don't think that would work and we'd regress the issue that was solved by updating the permissions. I think we'll need to revisit the locking scheme if that's the goal, but regardless, this seems like a net improvement.

@zanieb zanieb temporarily deployed to uv-test-registries November 25, 2025 15:11 — with GitHub Actions Inactive
@zanieb zanieb marked this pull request as ready for review November 26, 2025 15:51
konstin added a commit to konstin/rustup that referenced this pull request Nov 26, 2025
@konstin
Copy link
Member

konstin commented Nov 27, 2025

@geofft Do you know what permissions we need so that different processes, e.g. running in different docker containers, can use the same lockfile?

Copy link
Member

@konstin konstin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

666 is clearly better than 777, I don't know POSIX well enough to know if we can go tighter than that

@konstin konstin added the enhancement New feature or improvement to existing functionality label Nov 27, 2025
@zanieb zanieb merged commit 082be90 into main Dec 1, 2025
102 checks passed
@zanieb zanieb deleted the zb/lock-perms branch December 1, 2025 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or improvement to existing functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants