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

dispatch-conf: Avoid race when accessing log file #1025

Closed
wants to merge 1 commit into from

Conversation

hannob
Copy link
Member

@hannob hannob commented Apr 24, 2023

First creating the file and then running chmod creates a security risk where a user could access the file. Avoid this by enforcing the file permissions via umask.

First creating the file and then running chmod creates a security
risk where a user could access the file. Avoid this by enforcing
the file permissions via umask.

Signed-off-by: Hanno Böck <[email protected]>
@thesamesam
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants