Permission String Flashcards

1
Q

Owner Permissions

A

Determine what the file’s owner can do with the file

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

World or Other Permissions

A

Determine what users who are not the file owner or members of its group can do with the file

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

Group Permissions

A

Determine what members of a group can do with the file

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

Execute permission type

A

Can run as a program

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

Permission string 3-digit Octal Code

A
  • Numerical representation of permissions 0 to 7
  • Starting with value of 0 and add a certain number based o the permissions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What octal code number represents execute permissions

A

1

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

What octal code number represents write permissions

A

2

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

What octal code number represents read permissions

A

4

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

Permission on symbolic links are always

A

777

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

File Type Code

A

Represents the file’s type and is often omitted from descriptions when the file type is not relevant

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

Types of File Type Code

A
  • (-) normal data file
  • (d) Directory disk
  • (|) Symbolic link
  • (p) named pipe
  • (s) socket
  • (b) block device
  • (c) character device
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Parts of the permission string

A
  1. File Type Code
  2. Owner Permissions
  3. Group Permissions
  4. World or Other Permissions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Directory execute bit

A
  • Special bit that can be turned on or off
  • Can grant or deny permission to search the directory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

User Mask (umask command)

A
  • Determines default permission for new files
  • Directory files default 777
  • Non-directory files default 666
  • Default can be changed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly