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 language is bash?
Given a file find the count of lines containing the word "abc".
What is bash coding?
How to get the first line from a file using just the terminal?
is this growing field and what is average package in this?
What is the use of a shebang line?
What does echo $0 do?
How do I run a shell script in powershell?
How will you connect to a database server from linux?
How to get the 3rd element/column from each line from a file?
What is subshell?
Is cmd a shell?
What does echo mean in scripting?
How to write a function?
What is sed in shell script?