Linux 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/56

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 11:43 AM on 3/2/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

57 Terms

1
New cards
Permissions
"Rules in Linux that determine who can access a file or directory and what actions they can perform."
2
New cards
Permission Groups
"The three categories of users that permissions apply to: Owner
3
New cards
Owner
"The user who owns the file or directory. Permissions apply specifically to this user."
4
New cards
Group
"The group assigned to the file or directory. Permissions apply to users within that group."
5
New cards
Others (All Users)
"All remaining users on the system who are neither the owner nor part of the assigned group."
6
New cards
Read (r)
"Permission that allows a user to view the contents of a file or list the contents of a directory."
7
New cards
Write (w)
"Permission that allows a user to modify a file or create or delete files inside a directory."
8
New cards
Execute (x)
"Permission that allows a user to run a file as a program or access (enter) a directory."
9
New cards
id Command
"A command used to display a user’s identity information including UID
10
New cards
chmod
"A command used to modify the permissions (mode) of a file or directory."
11
New cards
umask
"A command used to set the default permissions for newly created files and directories."
12
New cards
su
"A command that allows a user to temporarily switch to another user account
13
New cards
sudo
"A command that allows a permitted user to execute a specific command as another user
14
New cards
chown
"A command used to change the ownership of a file or directory."
15
New cards
chgrp
"A command used to change the group ownership of a file or directory."
16
New cards
passwd
"A command used to change a user’s password."
17
New cards
Regular File (-)
"Indicated by a dash in ls -l; represents a standard file."
18
New cards
Directory (d)
"Indicated by d in ls -l; represents a directory."
19
New cards
Symbolic Link (l)
"Indicated by l in ls -l; represents a symbolic link."
20
New cards
Character Special File (c)
"Indicated by c in ls -l; handles data as a stream of bytes such as a terminal."
21
New cards
Block Special File (b)
"Indicated by b in ls -l; handles data in blocks such as a hard drive."
22
New cards
Octal Notation
"A numeric method of representing file permissions using three digits for Owner
23
New cards
0
"Represents no permissions (---)."
24
New cards
1
"Represents execute permission only (--x)."
25
New cards
2
"Represents write permission only (-w-)."
26
New cards
3
"Represents write and execute permissions (-wx)."
27
New cards
4
"Represents read permission only (r--)."
28
New cards
5
"Represents read and execute permissions (r-x)."
29
New cards
6
"Represents read and write permissions (rw-)."
30
New cards
7
"Represents read
31
New cards
777
"Grants full permissions to everyone; not recommended for security."
32
New cards
755
"Owner has full access; group and others have read and execute permissions."
33
New cards
700
"Only the owner has full access; others have no permissions."
34
New cards
666
"All users can read and write the file."
35
New cards
644
"Owner can read and write; group and others can only read."
36
New cards
600
"Owner can read and write; others have no permissions."
37
New cards
Directory 777
"All users can list
38
New cards
Directory 755
"Owner has full access; others can list files but cannot create or delete them."
39
New cards
Directory 700
"Only the owner has access to the directory."
40
New cards
Symbolic Notation
"A method of changing permissions using letters instead of numbers."
41
New cards
u
"Represents the file or directory owner in symbolic notation."
42
New cards
g
"Represents the group owner in symbolic notation."
43
New cards
o
"Represents others in symbolic notation."
44
New cards
a
"Represents all users (u
45
New cards
u+x
"Adds execute permission to the owner."
46
New cards
u-x
"Removes execute permission from the owner."
47
New cards
+x
"Adds execute permission to all users."
48
New cards
o-rw
"Removes read and write permissions from others."
49
New cards
go=rw
"Sets group and others to have read and write permissions only."
50
New cards
u+x
go=rx
51
New cards
umask 0002
"Removes write permission from others by default."
52
New cards
umask 0022
"Removes write permission from group and others by default."
53
New cards
umask 0000
"Applies no restrictions to default permissions."
54
New cards
username (chown argument)
"Changes file ownership to the specified user."
55
New cards
username:group
"Changes file ownership to the specified user and group."
56
New cards
:group
"Changes only the group ownership."
57
New cards
username:
"Changes ownership to the specified user and assigns their login group."