Answer Posted / neha c
UMASK:- user file creation mask. This tells which
permissions are hidden from the owner, group and other. It
doesnt tell which permissions are granted rather tells which
are denied.
Default file permissions=666
Default directory permissions=777
Actual file permissions= (Default file permissions) - (Value
of Umask)
If value of UMASK = 232 then actual file permissions=
666-232= 434
Value of UMASK can be changed by the following command:-
UMASK <new_value_to_be_given>
UMASK 253
| Is This Answer Correct ? | 14 Yes | 4 No |
Post New Answer View All Answers
What are the different types of shell scripting?
How do I run a script from command prompt?
Write a script to print the first 10 elements of fibonacci series.
What does path stand for?
Can we run shell script in windows?
What language is bash?
What are the four fundamental components of every file system on linux?
Given a file find the count of lines containing the word "abc".
What is option in shell script?
What is the use of "$#" in shell scripting?
how to print the matrix form of 2-d, 3-d arrays in unix c shell scripts ?
Set up a Sev 2 alert when the Primary WA service fails. A windows batch script needs to be created that will monitor the WA service on the Primary and when the service stops/fails a Sev 2 TT is generated for a particular team ?
Suppose you execute a command using exec, what will be the status of your current process in the shell?
I want to connect to a remote server and execute some commands, how can I achieve this?
How do I save a powershell script?