these are for root user...bt for normal users i think they
are 664 for file and 775 for directories.(666-002=664 and
777-002=775).therefore for root user the umask is 022 and
for normal users the umask is 002.
The umask of user whose uid is 0 to 100 is 022 (by default)
The umask of user whose uid is above then 100 is 002 (by
1- The permission of file and directory create by user
whose uid is 0 to 100
dir permission is full permission - umask=(777-022)
file permission is dir permission - execute=(755-111)
2- The permission of file and directory create by user
whose uid is above to 100
dir permission is full permission - umask=(777-002)
file permission is dir. permission - execute=(775-111)
> if you want to change umask setting then edit -
# vim /etc/bashrc (file)
someone already asked 'what is diff between unix & Linux'
can I ask the same but more nuanced...I have 7 years app
support of unix, have never seen Linux BUT need to bluff my
way through in an interview i e say that I have use Linux.
What are the most important things I need to know?