Modify File and Directory Permissions Flashcards

1
Q

gives you the long list of files and directories with ownership and permissions, etc

A

ls -l

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

chmod option to hide most error messages

A

-f

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

chmod option to report changes made in permission

A

-c

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

default permissions for files created by root

A

644

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

default permissions for directories created by root

A

755

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

default permissions for directories created by users with limited access rights

A

775

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

default permissions for files created by users with limited access rights

A

664

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

Where to set system-wide unmask

A

/etc/bashrc

/etc/profile

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

Where to set per-user unmask

A

~/.bashrc

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

numerical value of read

A

4

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

numerical value of write

A

2

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

numerical value of execute

A

1

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

List hidden files

A

ls -a

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

display long list of files and directories (also known as long format)

A

ls -l

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

define exactly what a user is allowed to do with a particular file or directory

A

permission attributes

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