Asked By
john sena
40 points
N/A
Posted on - 06/28/2011
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.
Answered By
rizwan
280 points
N/A
#128306
Root directory • File mode creation mask (umask)
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: https://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.