Linux Administration Bootcamp: Go from Beginner to Advanced - File and Directory Permissions Explained - Part 2

Linux Administration Bootcamp: Go from Beginner to Advanced - File and Directory Permissions Explained - Part 2

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Hard

Created by

Quizizz Content

FREE Resource

The video tutorial covers the concept of primary groups and how they affect file group assignments. It explains directory permissions and their impact on file execution. The tutorial also delves into the file creation mask and the UMASK command, illustrating how they determine default permissions for files and directories. Common UMASK modes and special modes are discussed, along with practical examples of using UMASK to manage permissions effectively.

Read more

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to change the group of a file?

CHMOD

CHOWN

CGRP

UMASK

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What can prevent the execution of a file even if its permissions are correct?

Improper directory permissions

File size too large

Wrong file type

Incorrect file name

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default permission for directories if no mask is used?

777

666

755

644

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How does the UMASK command affect file permissions?

It divides permissions

It adds permissions

It subtracts permissions

It multiplies permissions

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of subtracting a UMASK of 022 from 777 for directories?

666

775

644

755

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a special mode in file permissions?

Hidden

Read-only

Executable

Set UID

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many characters does UMASK display when run without arguments?

Four

Three

Two

Five