Term
Bob belongs to two groups: bob and staff. His primary group is bob. When he creates a new file, what group will the new file belong to? |
|
Definition
|
|
Term
A user belongs to the group staff as a secondary member. What command line will allow this user to create new files in the staff group? |
|
Definition
|
|
Term
True or false: bob can change the ownership of his file to sue? |
|
Definition
False, only root can change file ownership. |
|
|
Term
What command can root execute to change the user owner of the file "abc.txt" to nick and the group ownership of this file to "staff"? |
|
Definition
|
|
Term
A user executes the command chgrp staff abc.txt and receives the following error message: "Operating not permitted". What is the most likely cause of this error:
A. The file "abc.txt" does not exist. B. The file "abc.txt" does not have read permission set for the owner. C. The user doesn't belong to the staff group. D. The file is already owned by the staff group. |
|
Definition
|
|
Term
What option to chown will change the ownership of an entire directory structure? |
|
Definition
|
|
Term
Given a file with octal permissions of 640, which of the following is true (choose 2):
A. Root can not change the ownership of the file. B. The group owners can execute the file. C. The group owners can view the file's contents. D. The owner of the file can change the file contents. |
|
Definition
|
|
Term
What is the octal value of the following permissions: rwxr-x--x |
|
Definition
|
|
Term
What will the following command do: chmod a-x abc.txt |
|
Definition
Remove execute permission for all users on the abc.txt file |
|
|
Term
If a user executes the command umask 077 and then creates a new directory, what permissions will the new directory end up having? |
|
Definition
|
|
Term
If a user creates a directory and the resulting permissions are 755, what permissions would the user get if they created a new file? |
|
Definition
|
|
Term
What command would add suid permission to a file called abc.exe? |
|
Definition
|
|
Term
Bob's primary group is "staff". Based on the output for the following command, what group would own the "abc.txt" file (assuming "abc.txt" is a new file):
ls -ld /pub -rwxrwsrwx 1 root payroll 4096 2012-02021 /pub touch /pub/abc.txt |
|
Definition
|
|
Term
chmod 1777 /pub will result in what special permission being set? |
|
Definition
|
|