Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Google Cloud Platform icon

Create a Collaborative Directory

In this hands-on lab, you are responsible for creating a directory to be used as a shared resource by the `devops` team. You will create a new local group, a local user account, and update the new group membership. Next, you will create a new directory and configure the permissions and ownership so it can only be accessed and used by the team. The last step will be to validate access to the directory using the account of a user on the `devops` team. *This course is not approved or sponsored by Red Hat.*

Google Cloud Platform icon

Path Info

Clock icon Beginner
Clock icon 30m
Clock icon Dec 04, 2020

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Create a Local Group and a User Account, Then Populate the Group

    • Create a local group called devopsadmin.
    • Create a user account for Peter Gibbons (pgibbons).
    • Set the password for pgibbons and devops (an existing account) to devops123.
    • Add pgibbons and devops to the devopsadmin group.
  2. Challenge

    Create the Team Directory, Configure Ownership and Permissions and Restrict Access

    • Create a directory called devops in the /data directory.
    • Update the ownership to nobody:devopsadmin.
    • Update directory permissions to the following configuration:
      • owner/group = read, write, execute
      • other = none
      • Enable SGID
      • Enable the sticky bit
  3. Challenge

    Validate Access to the Directory

    • As the cloud_user, attempt to change to the /data/devops directory.
    • Switch to the pgibbons user account.
      • Attempt to change the devops directory.
      • Attempt to create a file called pgibbons-test.
    • Switch to the devops account.
      • Attempt to change to the devops directory.
      • Attempt to edit the pgibbons-test file.
      • Attempt to rename the pgibbons-test file to devops-test.
      • Attempt to delete the pgibbons-test file.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

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.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans