Skip to content

Comments

Fix order of umask call in ch10/my-daemon-v2.c#6

Open
larsbergerproductions wants to merge 1 commit intoPacktPublishing:masterfrom
larsbergerproductions:master
Open

Fix order of umask call in ch10/my-daemon-v2.c#6
larsbergerproductions wants to merge 1 commit intoPacktPublishing:masterfrom
larsbergerproductions:master

Conversation

@larsbergerproductions
Copy link

see #5

tl;dr: first set the umask to 022, then create the pidfile for it to have the correct permissions set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant