File Permssions Flashcards

1
Q

rwx permissions stand for

A

Read, write, execute

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

rwx rwx rwx order of permissions

A

User, group, other
i.e. — rwx — means Group has read, write, execute permission

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

chmod 777 filename

A

Sets permissions for “filename” to rwx rwx rwx (Use sparingly!)

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

chmod 775 filename

A

Sets permissions for “filename” to rwx rwx r-x

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

chmod 755 filename

A

Sets permissions for “filename” to rwx r-x r-x

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

chmod 664 filename

A

Sets permissions for “filename” to rw- rw- r–

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

chmod 644 filename

A

Sets permissions for “filename” to rw- r– r–

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

chmod write permission code

A

2, 3, 6, or 7

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

chmod read permission code

A

> = 4

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

chmod execute permission code

A

odd

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

chown john /path/to/file

A

Change ownership of “path/to/file” to “john”

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

chgrp sales /path/to/file

A

Change group ownership of “/path/to/file” to group “sales”

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