Permissions Flashcards
r
Read permissions (you can see what you see)
For directory, means you can see the files inside
w
Write permissions (change file)
In directory, add to directory
x
Allows the execution of a file in a directory
Allows access to the contents and metadata for entries
u
User category for permissions
g
Group category for permissions.
o
Other category for permissions
a
All category for permissions
groups
Tells you what groups you are in
groups userID
Tells you what groups the user is in
id-Gn
Synonym for groups userID
Permission order
User->Group->all
—r-w —r —r
chmod
Used to change permissions, aka modes
ugoa
The options to add to chmod to specify changes to user, group, other, and all
+-=
Append to chmod to specify permissions being added, subtracted, or equaling
rwx
Read, write, executr