Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Potential race condition when creating files #93

Open
pcuzner opened this issue Oct 14, 2020 · 0 comments
Open

Potential race condition when creating files #93

pcuzner opened this issue Oct 14, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@pcuzner
Copy link
Collaborator

pcuzner commented Oct 14, 2020

When we create files, and then chmod them there is a small window when the permissions are incorrect and exposed. We should therefore create the file with the correct permissions and avoid this 2 stage process.

An example of the fix required is here - https://git.centos.org/centos/centos-packager/c/ac981c91aed7f7a8579bd2608ce6b6681aeabc82

@pcuzner pcuzner added the bug Something isn't working label Oct 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant