Overview

Introduction

Welcome to the Manage File and Directory Permissions Practice Lab. In this module you will be provided with the instructions and devices needed to develop your hands-on skills.

Learning Outcomes

In this module, you will complete the following exercises:

  • Exercise 1 - Manage File and Directory Permissions

After completing this lab, you will be able to:

  • Log into a Linux System
  • Set Access Modes
  • Work with Immutable Files

Exam Objectives

The following exam objectives are covered in this lab:

  • LPI: 104.5 Manage file permissions and ownership
  • CompTIA: 4.3 Given a scenario, analyze and troubleshoot user issues.

Lab Duration

It will take approximately 1 hour to complete this lab.

Exercise 1 - Manage File and Directory Permissions

When a user logs in a Linux system, a new shell process starts, which runs with the user’s user and group IDs. Each user account has permissions that can access only certain files and the files the user creates. The user cannot access files that either belongs to other users or they are system files. The applications that a user starts, it inherits the user id and therefore, has access only to the files and objects on which the user has access. Any object on which the user does not have access, the application, which the user is running, does not have access.

In this exercise, you will manage file and directory permissions.

Learning Outcomes

After completing this exercise, you will be able to:

  • Log into a Linux System
  • Set Access Modes
  • Work with Immutable Files

Comprehensive Learning

See the full benefits of our immersive learning experience with interactive courses and guided career paths.