Linux File Permissions and Commands

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/29

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering Linux file permissions, owner types, ls options, and chmod argument modifiers.

Last updated 5:17 AM on 10/4/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

30 Terms

1
New cards

Read permission (for files)

The ability to read the file contents.

2
New cards

Read permission (for directories)

The ability to read all contents in the directory including both files and subdirectories.

3
New cards

Write permission (for files)

The ability to make modifications on the file contents.

4
New cards

Write permission (for directories)

The ability to create new files in the directory.

5
New cards

Execute permission (for files)

The ability to execute the file if it is a program.

6
New cards

Execute permission (for directories)

The ability to enter the directory and access its files.

7
New cards

User (owner type)

The owner of the file.

8
New cards

Group (owner type)

A larger group that the owner is a part of.

9
New cards

Other (owner type)

All other users on the system.

10
New cards

1st character (Linux permission string)

Indicates file type: d for directory, - for a regular file.

11
New cards

2nd character (Linux permission string)

Indicates read permissions for the user (r if user has read permissions, - if lacking).

12
New cards

3rd character (Linux permission string)

Indicates write permissions for the user (w if user has write permissions, - if lacking).

13
New cards

4th character (Linux permission string)

Indicates execute permissions for the user (x if user has execute permissions, - if lacking).

14
New cards

5th character (Linux permission string)

Indicates read permissions for the group (r if group has read permissions, - if lacking).

15
New cards

6th character (Linux permission string)

Indicates write permissions for the group (w if group has write permissions, - if lacking).

16
New cards

7th character (Linux permission string)

Indicates execute permissions for the group (x if group has execute permissions, - if lacking).

17
New cards

8th character (Linux permission string)

Indicates read permissions for other (r if other owner type has read permissions, - if lacking).

18
New cards

9th character (Linux permission string)

Indicates write permissions for other (w if other owner type has write permissions, - if lacking).

19
New cards

10th character (Linux permission string)

Indicates execute permissions for other (x if other owner type has execute permissions, - if lacking).

20
New cards

ls -a

Displays hidden files, which start with a period (.) at the beginning.

21
New cards

ls -l

Displays permissions to files and directories, owner name, group, file size, and the time of last modification.

22
New cards

ls -la

Displays permissions to files and directories, including hidden files (combination of -a and -l options).

23
New cards

Principle of least privilege

The concept of granting only the minimal access and authorization required to complete a task or function.

24
New cards

chmod command

Changes permissions on files and directories.

25
New cards

u (chmod modifier)

Indicates changes will be made to user permissions.

26
New cards

g (chmod modifier)

Indicates changes will be made to group permissions.

27
New cards

o (chmod modifier)

Indicates changes will be made to other permissions.

28
New cards
  • (chmod modifier)

Adds permissions to the user, group, or other.

29
New cards
  • (chmod modifier)

Removes permissions from the user, group, or other.

30
New cards

= (chmod modifier)

Assigns permissions for the user, group, or other, setting them exactly as specified and overwriting existing permissions.