1.11 – Managing Linux Permissions Flashcards

1
Q

see permissions in terminal

A

ls -l

-rw -rw -r - -l andy[user] andy [group]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Change ownership of data.txt

A

sudo chwon bob data.txt

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

3 sets of permissions in Linux

A
  1. Owner = user
  2. Group = which group they belong to
  3. Everyone else
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Number Permissions

A

777 = 7 for owner, 7 for group, 7 for everyone else

All 3 get read/write/execute

First number = owner

Second number = group

Third number = everyone else

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Read / Write / Execute

A

1 = execute

2 = write

4 = read

How well did you know this?
1
Not at all
2
3
4
5
Perfectly