-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.4.2: sudo -u nobody stg
operations override system umask
#413
Comments
Thanks for posting this issue, @lkraav. StGit uses Next step for StGit will be to add a test or two that reproduce this behavior. |
Thanks. Are you able to reproduce this behavior manually? |
Thanks for reeling me in! I researched this real quick and tracked it down to this call in Git which allows to create tempfiles with a given
I do remember that I never managed to create lock-files the way I wanted to, while leveraging the |
This issue is on track to be resolved. It might take a little longer to complete though as it's depending on another PR in the upstream |
I have released new versions of You are probably able to try it out after running |
Top notch service, sirs, much appreciated! |
You are welcome! Does that mean it works :)? |
After something like
sudo -u nobody stg pop
, some or maybe all written git metadata files get written with 600 permissions. This started I think after replatforming on Rust, everything worked fine for years on Python builds. Now others innobody
group are not able to execute any git commands in this repo, becausefatal: your current branch appears to be broken
.sudo
doesn't seem to configured in any wrong way,touch
writes files with 644 permissions as it should:Feels like some kind of Rust lib thing. Your thoughts?
The text was updated successfully, but these errors were encountered: