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?
1 which file contains information about os wether it's 32
bit or 64 bit os
2 difference between logical block and physical block??
3 what is the size of logical block and physical block??
4 daemon for nfs on client end as well as server end???
5 how to confirm from client end about nfs server sharing??
6 what contains information about file and directory
creating time or modification time??