What UNIX command will control the default file permissions
when files are created?
Answer Posted / aks
for this purpose we need to use umask command...
as by default every file has default permissions of 666
and any directory have the dafault ermission of 777...
syntax: $ umask [umask options]
as it works with octal method only so
1 for execute
2 for write
4 for read
example:
$ umask
using umask alone will allow u to see the default permisions..
Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What are reported commands?
What is rmdir command?
How does the system know where one command ends and another begins?
Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?
What command is used to switching between users in unix?
why metadb requires a seperate slice to create Solaris volume manager
Who invented grep?
What are some command words?
What is time_t?
What is sed awk grep?
What is grep r?
What does #!/ Bin sh do?
What does this command do,"$more readme.txt“?
What does the metacharacter mean?
What is s and g in sed command?