Skip to content
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

Honor umask on cache files (RhBug:1686812) #179

Merged
merged 1 commit into from Oct 14, 2019

Conversation

kontura
Copy link
Contributor

@kontura kontura commented Oct 10, 2019

Cache files are created with tempfile mechanism which uses default mode
of 0600, this commit changes their mode to the one specified by umask.
Original reason for this is sharing cache between multiple users
updating one repository.

https://bugzilla.redhat.com/show_bug.cgi?id=1686812

This also unifies behavior with original createrepo.

Cache files are created with tempfile mechanism which uses default mode
of 0600, this commit changes their mode to the one specified by umask.
Original reason for this is sharing cache between multiple users
updating one repository.

https://bugzilla.redhat.com/show_bug.cgi?id=1686812
@Conan-Kudo Conan-Kudo merged commit 3018bc4 into rpm-software-management:master Oct 14, 2019
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.

None yet

2 participants