Answer Posted / rakesh arora
umask is to set the default directory and file access
restriction set during it creation.
For Example if Umask is 033( means 000011011 ) then
directory permission will be its complement
so default dir permission is 111100100 ( means 744)
now,AND dir permission with 110110110 (666) so it comes to
and file permission is 110100100 (644)
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
What is path variable bash?
How to check if a directory exists?
What is echo in shell?
What is the first line in every perl script called?
Explain about "s" permission bit in a file?
Explain about non-login shell files?
How to find duplicate record in file using shell script?
What is eval in shell script?
What does $@ mean in shell?
How do scripts work?
write a shell script to generate a alert ? like when ur birthday came then generate a alert ur birthday is today like that ?
What is inside a seashell?
how will you find the total disk space used by a specific user?
How to print the first array element?
Can you write a script to portray how set –x works?