Write pid before resetting umask
drwxr-xr-x - src