What umask command should be executed to set the permissions bit mask to 037? With this mask, what default access privileges are associated with any new file that you create on the system? Why? Where would you put this command so that every time you log onto the system this mask is effective?
What will be an ideal response?
The following command with set the permissions bit mask to 037.
umask 037
The default access privileges will be read, write, and execute for the owner, read for the group, and none for others. The reason for this is that the access permissions for the new file will be (777 - 037) = 740. I would put this command in my ~/.profile file. The system administrators can put this in the /etc/profile file for it to be effective for all users.
You might also like to view...
Dependent cells contain formulas independent of other cells
Indicate whether the statement is true or false
Which of the following is a document that is used in cyber forensics that lists everywhere evidence has been?
A. Warrant B. Legal document C. Chain of custody D. Forensic report E. Documentation of the scene