Managing File Ownership Flashcards

1
Q

chmod

A

Changes assigned permissions; uses 2 different modes, symbol and octal

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

symbolic mode

A

denote permissions using a letter code

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

what are the symbolic mode tiers

A

u owner, g group, o others, a all tiers

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

octal mode

A

nine permission bits are represented as three octal numbers

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

chown

A

changes a files owner, needs # or sudo

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

chgrp

A

changes files group, needs # or sudo

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

read

A

read/view data in a file, list files in directory

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

write

A

modify data in file, create, modify, delete, move files in directory

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

execute

A

run file as script or binary, can change pwd to this location

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

what are the 3 special permission bits that linux uses for controlling advanced behavior of files and directories

A

SUID, SGID, sticky bit

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

the Set User ID (SUID) tells the Linux Kernel to?

A

run the program with the permissions of the file owner and not the user account actually running the file

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

the SUID bit is indicated by an s in the place of?

A

the execute permission letter for the file owner: rwsr-xr-x

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

If the SUID bit is set on a file that doesn’t have execute permission for the owner, it’s indicated by a?

A

capital S

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