I'm using csh.
After running lynis I decided to try out an umask of 027, but then decided that it was too much work to manage permissions of new files and folders in the webserver root, so I changed it back to 022, but new directories are still being created with 750 and files with 640 permissions.
I checked .cshrc and umask is commented out there.
in /etc/login.conf I have
What am I missing here? Aside from saving the file, is there anything else I need to do to successfully change the unmask?
After running lynis I decided to try out an umask of 027, but then decided that it was too much work to manage permissions of new files and folders in the webserver root, so I changed it back to 022, but new directories are still being created with 750 and files with 640 permissions.
I checked .cshrc and umask is commented out there.
in /etc/login.conf I have
Code:
:unmask=022:\
Last edited by a moderator: