File Systems and Permissions

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

1/37

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 2:59 PM on 5/27/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

38 Terms

1
New cards

A ___ (or symlink) is a special type of file that points to another file or directory. Instead of containing its own data, it stores a path to a target location. It acts like a shortcut in Linux. If a program accesses the ___, Linux automatically redirects it to the target file or directory.

symbolic link

<p>symbolic link</p>
2
New cards
<p>ls -l</p>

ls -l

In ___ output, the first character indicates the file type.

3
New cards
<p>ln -s target link_name</p>

ln -s target link_name

Creates a symbolic link named link_name pointing to target.

4
New cards

Metadata

Information stored about a file rather than the file’s actual contents. In Linux, ___ describes properties of a file such as ownership, permissions, timestamps, size, and inode information. Helps the operating system manage files and allows users to view details about them.

5
New cards

Inode

Internal filesystem data structure storing metadata about a file except its filename.

6
New cards
<p>hard link</p>

hard link

A ___ is another directory entry that points to the same inode as an existing file. Because both names reference the same inode, they both refer to the exact same file data on disk. Unlike a symbolic link, a ___ does not point to a pathname. Instead, it directly references the same inode and underlying file contents.

7
New cards

chmod

Stands for change mode. It is a Linux command used to change file or directory permissions.

8
New cards
<p>User classes</p>

User classes

___ are categories of users used by Linux permissions to determine who can read, write, or execute files and directories. These user classes are commonly used with the chmod command to modify permissions.

9
New cards

chmod operators

Are symbols used with the chmod command to control how permissions are changed on files and directories.

10
New cards

permissions

Determine what actions users can perform on files and directories (Ex: r = read, w = write, x = execute).

11
New cards

permission numeric values

___ are the numeric representations of Linux file permissions used with commands like chmod. (Ex: r = 4, w = 2, x = 1)

12
New cards
<p>Read Permission</p>

Read Permission

Permission allowing viewing file contents. Has numeric value of 4

13
New cards
<p>write permission</p>

write permission

Permission allowing modification of a file. Has numeric value of 2

14
New cards
<p>execute permission</p>

execute permission

Permission allowing a file to run as a program or script. Has numeric value of 1.

15
New cards
<p>directory execute permission</p>

directory execute permission

Allows entering or traversing a directory.

16
New cards

umask

Stands for user file-creation mode mask. It controls the default permissions assigned to new files and directories when they are created in Linux. Removes permissions from the system’s default permission settings.

17
New cards

666

Default starting ‘Files’ permissions are usually

18
New cards

777

Default starting ‘Directories’ permissions are usually

19
New cards
<p>.</p>

.

The ___ directory entry refers to the current directory in Linux. It is a special directory entry automatically present inside every directory and is commonly used to reference the directory you are currently working in.

20
New cards

..

The ___ directory entry refers to the parent directory in Linux. It is a special directory entry automatically present inside every directory and is used to move up one level in the filesystem hierarchy.

21
New cards
<p>directory link count</p>

directory link count

___ is the number of hard links that point to a directory’s inode. This value appears in the ls -l output immediately after the permissions field.

22
New cards
<p>empty directory link count</p>

empty directory link count

An ___ starts at 2 in Linux because two hard links already point to the directory’s inode.

23
New cards
<p>manual hard links</p>

manual hard links

___ to directories are generally forbidden in Linux filesystems because they can create filesystem loops and cyclic directory structures. A hard link points directly to an inode. Allowing users to manually create hard links to directories would make the filesystem graph circular instead of hierarchical.

24
New cards

timestamp

Metadata recording times such as modification or access time.

25
New cards

filesystem

Structure Linux uses to organize and store files/directories.

26
New cards

Owner

[User Class] u

27
New cards

Group

[User Class] g

28
New cards

Others

[User Class] o

29
New cards

all users

[User Class] a

30
New cards

+ =

[chmod Operators] Add Permissions

31
New cards

- =

[chmod Operators] remove permissions

32
New cards

= = set

[chmod Operators] exact permissions

33
New cards

read

[Permissions] r

34
New cards

write

[Permissions] w

35
New cards

execute

[Permissions] x

36
New cards

4

[Permissions Numeric Values] r

37
New cards

2

[Permissions Numeric Values] w

38
New cards

1

[Permissions Numeric Values] x