Hands-on task
umask 027 for the whole server
On this server the team's files must not be visible to outside users, but colleagues in the group should be able to read them. Set umask 027 for all new login sessions of all users: new files — 640, new directories — 750. It's checked with a bash login shell (as with bash -l).
- umask
- /etc/profile.d
- login shell
- default permissions