Workbook 4 File Ownership and Permissions: Chapter 3: Changing File Ownerships with chgrp and chown Flashcards

1
Q

How is the group owner determined for a newly created file?

A

the file’s group owner is set to the primary group of the creator [16]

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

What members comprise a user’s private group?

A

the user and anyone one allowed by that user

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

Which user(s) can change the group owner of a file?

A

Only the administrative user, root, is able to use the chown command [17]

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

Can the user owner of a file change the group ownership of that file to any group?

A

root and the file owner (only to subscribed groups) [17]

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

Give the command line to change the group owner of notes.txt to group cist

A

chgrp cist notes.txt [17]

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

Which user(s) can change the user owner of a file?

A

Only root [17]

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

Give the command line to change the user owner of notes.txt to user adam

A

chown adman notes.txt [17]

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