umask # shows current octal permissions mode
umask -S # human readable notation
u=rwx, g=rx, o=rx
umask 002 # set new octal permission mode
ugo
# 0 -> read, write and execute
# 1 -> read and write
# 2 -> read and execute
# 3 -> only read
# 4 -> write and execute
# 5 -> only write
# 6 -> only execute
# 7 -> no permissions
umask g+r # set global rol to read