Hands-on task
umask 007 for team directories
The ops team works in shared group directories, and colleagues can't edit each other's files: new files are created without group write permission. Make it so that in new login sessions of any user the umask is 007: files — 660, directories — 770 (the group reads and writes, everyone else gets nothing). It's checked with a bash login shell, as with bash -l.
- umask
- default permissions
- group write
- /etc/profile.d
- login shell