- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

Working with File and Directory Permissions on RHEL 8
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.*

Lab Info
Table of Contents
-
Challenge
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.
-
Challenge
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.
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.