Give a command line for setting default access mode so that you have read, write, and execute privileges, your group has read and execute permissions, and all others would have no permission on any file that you create. How would you test it to be sure it works correctly?
What will be an ideal response?
umask 027
I can test the working of the above command by creating a new executable file or a directory and then displaying the long listing for the newly created file (by using the ls -l command) in order to view permissions on the file. The permissions on text files will be read, write for user, read for group, and none for others because the default permission for text files are 666.
You might also like to view...
The output from the power supply to the computer devices is AC power
Indicate whether the statement is true or false
The following two arrays string dept Name[3] = {"Manufacturing", "Sales", "Business Office"); double dept Budget[3] = {200000.0, 60000.0, 50000.0}; are an example of ________ arrays.
A) two-dimensional B) paired C) linked D) parallel E) brother