How do you show default umask permissions?
umask
What are the default permissions linux sets for a file excluding umask?
666
What are the default permissions linux sets for a directory excluding umask?
777
With a umask of 0022, what will the default permissions be for a new file?
644
With a umask of 0022, what will the default permissions be for a new directory?
655
How can you set the umask interactively?
umask >nnnn<
i. e umask 0002
* only affects current shell session
How is umask set permanently?
In /etc/bashrc and /etc/profile