Root directory • File mode creation mask (umask)

Asked By 40 points N/A Posted on -
qa-featured

Hi,

I am a bit confused and mixing the concepts of the fork() system call the parent and the child share the following: • Environment • Open file descriptor table • Signal handling settings • Nice value • Current working directory • Root directory • File mode creation mask (umask) The professor says that the Open file descriptor will be explained later but he did not say anything about the Nice Value and File Mode creation mask. Please explain the Nice Value and File Mode creation mask in the context of fork () system call. Also tell me What is FILE MODE CREATION MASK?

Thanks.

SHARE
Answered By 280 points N/A #128306

Root directory • File mode creation mask (umask)

qa-featured

 

Hello how are you. Rizwan here for your help so don’t  take tension just follow that what I am saying. Ok.Nice value is a number that influence the property of the process. If the nice value is high, it makes the process to run at lower priority and if the value of nice is lower, the process runs at higher priority. The file mode creation mask (often called the umask) determines the default permissions for any file created by the process. For example, a file created by the create command has the permissions specified by the umask unless the create command specifies explicit permissions. (Ref: http://www.mkssoftware.com/docs/man1/umask.1.asp)

(b) The file mode creation mask (often called the umask) determines the default permissions for any file created by the process. For example, a file created by the create command has the permissions specified by the umask unless the create command specifies explicit permissions.

Bye.

Login/Register to Answer

Related Questions