What UNIX command will control the default file permissions
when files are created?
Answers were Sorted based on User's Feedback
Answer / indrajit bhaga / manoj jayswal
"umask <filename>" command is use to see default file
permissions or creat default file permissions.
| Is This Answer Correct ? | 18 Yes | 1 No |
Answer / 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 |
how to delete entire records in unix ?
What is clustering in HP and how it's work?
How to convert a hidden file to normal visible file?
how will you convert a general file to a hidden file?
What command would users use to see what file one page at a time in UNIX?
What is the use of egrep command in unix?
What are some command words?
How does the system know where one command ends and another begins?
Enumerate some of the most commonly used network commands in unix?
What is awk used for?
How many unix commands are there?
What command will bring user back to their home directory in UNIX?