Class 9 Quiz Flashcards

1
Q

By default, which account is the owner of a file or directory?

A

the account that created it

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

Name the three types of access permissions.

A

read, write and execute

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

Name the three categories of accounts which are used in assigning access permissions.

A

owner, group, everyone else

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

Who can change the access permissions on a file or directory?

A

only the owner

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

What would you enter on the command line if you wanted to see the access permissions of entries in your current directory?

A

ls -l

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

What is the name of the command you would use to change the access permissions for a file or directory?

A

chmod

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

Three numbers can be used to specify access permissions when using the command above. Each of these numbers can only be in a certain range. What is the maximum and minimum for each of these three numbers?

A

0 to 7

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

If the file work.shhas the permissions given below, what could the owner of the file do?
-rwxr-x–x 1 ghoffman grad 0 Sep 27 11:08 work.sh

A

read, write and execute

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

If the file work.shhas the permissions given below, what could the group do?
-rwxr-x–x 1 ghoffman grad 0 Sep 27 11:08 work.sh

A

read and execute

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

If the file work.shhas the permissions given below, what could everyone else do?
-rwxr-x–x 1 ghoffman grad 0 Sep 27 11:08 work.sh

A

only execute

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