The "pid file" was getting created mode 666, not applying the umask
because at that point in the program the umask is set to 0. Now creating the file with mode (666 & ~orig_umask).
Showing
Please register or sign in to comment
because at that point in the program the umask is set to 0. Now creating the file with mode (666 & ~orig_umask).