Question: Execute the following for linux, 1. Start at your home directory as your current working directory. 2. Now perform the following tasks: List which group
Execute the following for linux,
1. Start at your home directory as your current working directory.
2. Now perform the following tasks: List which group or groups you belong to. Display your default permission mask.
Now answer these queries:
A. What are the default permissions for all new directories created ?
B. What are the default permissions for all new files created ?
3. Create three directories called "current-assign", "data", and "submit-assign".
4. List the permissions on the three directories you just created.
5. Using octal mode, set the permissions for the "data" directory so that you have all three permissions (rwx), users in your group have read access only, and the other users of the system have no access permissions.
6. List the permissions on the directory "data" to confirm the permission change.
7. Using symbolic mode, issue the command to give others only execute permission to the "data" directory.
8. List the permissions on the directory "data" to confirm that others have execute permission to the directory.
9. Change the default permission mask to 0066.
10. Now answer these queries:
A. What are the default permissions for all directories created after step 9 ?
B. What are the default permissions for all files created after step 9 ?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
