Managing File Ownership and Permission Flashcards

1
Q

Which command allows you to change a folders ownership?

A

chown

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

Which command allows you to change a files ownership?

A

chgrp

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

What is the permissions for a directory that has the following permission string:

rwxrwxrwx

A

Read/Write/Execute for all users.

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

What is the permissions for a directory that has the following permission string:

rwxr—x———

A

Read and execute permission for the owner and
group. The file’s owner also has write permission.
Other users have no access to the file

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

What is the permissions for a directory that has the following permission string:

rw—r—r—

A

Read and write permissions for the owner.
Read-only permission for all others

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

What is the permissions for a directory that has the following permission string:

r———————

A

Read permission for the owner. No permission for
anybody else

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

What is the 3-digit code for rwxrwxrwx?

A

777

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

rwxr—x———?

A

750

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

What is the permissions for a directory that has the following permission string:

rw—r—r—?

A

644

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

What is the permissions for a directory that has the following permission string:

r———————?

A

400

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