One aspect of a properly configured Linux system is correct file permissions. When permissions are too restrictive things don’t work as they should, but if they are too permissive system security suffers. Understanding how to manage file permissions is an important skill for a system administrator. In this hands-on lab, we will diagnose and correct file permission problems. In addition, we will create and configure set-GID directories for collaboration.
*This course is not approved or sponsored by Red Hat.*
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Create and Configure set-GID Directories for Collaboration
- Create a shared directory for 3 users to share files properly.
- Setup the users and sign in as each to create a file in the shared directory.
- Fix the permissions so that all users can access each others files properly.
- Create more files to verify things work.
- Diagnose and Correct File Permission Problems
- Create another user with the system defaults and have them attempt to join the shared directory.
- Troubleshoot the issues that come up.
- Modify the user account to allow participation in the group.
- Change file permissions to allow group editing of each other’s files.
- Ensure that no user can delete files they do not own.