Skip to content

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

Open
larsbergerproductions wants to merge 1 commit into
PacktPublishing:masterfrom
larsbergerproductions:master
Open

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

Conversation

@larsbergerproductions

Copy link
Copy Markdown

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