Skip to content

Fix permissions of mutex files #741

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

Merged
merged 2 commits into from
Apr 15, 2025
Merged

Fix permissions of mutex files #741

merged 2 commits into from
Apr 15, 2025

Conversation

broskoTT
Copy link
Contributor

@broskoTT broskoTT commented Apr 14, 2025

Issue

Raised in #736

Description

Previous code had these two lines, which were removed in the new locking code, since I though they're not needed anymore. Looks like you have to clear this umask which is applied to all files being created in order for the maske 666 to be respected

List of the changes

  • Added umask operations

Testing

I've manually run tests which create locks, and observed prior to the change:
-rw-r--r-- 1 brosko group_1211400513 48 Apr 14 11:26 TT_UMD_LOCK.CREATE_ETH_MAP
after the change:
-rw-rw-rw- 1 brosko group_1211400513 48 Apr 14 14:04 TT_UMD_LOCK.CREATE_ETH_MAP

API Changes

There are no API changes in this PR.

@broskoTT broskoTT requested a review from pjanevskiTT April 14, 2025 14:15
@broskoTT broskoTT enabled auto-merge (squash) April 15, 2025 10:26
@broskoTT broskoTT merged commit 7e04a91 into main Apr 15, 2025
14 checks passed
@broskoTT broskoTT deleted the brosko/fix_umask branch April 15, 2025 10:43
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