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

Potential race condition when creating files #93

@pcuzner

Description

@pcuzner

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions