Unix

1:

The default permission bits of a file when it is created for the first time, is controlled by

A.

chmod value

B.

fmask value

C.

umask value

D.

none of the above

 

Answer : C

Explanation :

On Linux and other Unix-like operating systems, new files are created with a default set of permissions. Specifically, a new file's permissions may be restricted in a specific way by applying a permissions "mask" called the umask. The umask command is used to set this mask, or to show you its current value.

               Most applications would not create files with execute permissions set, so they would have a default of 666, which is then modified by the umask.

shikha said: (2:25pm on Thursday 9th July 2015)
What is the meaning of umask???how it is working???pls reply soon

Write your comments here:


Report Error
 

Option: A

Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here.