5.3 Managing File Permissions and Ownership Flashcards

1
Q

Permissions

drwxrwxr-x

the d indicates

A

file type - directory

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

Permissions

drwxrwxr-x

3 chars after d indicate permissions for

A

owner and user

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

Permissions

drwxrwxr-x

The next three characters, rwx, indicate the permissions of the

A

group owning the file also referred to as g

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

Permissions

drwxrwxr-x

the last 3 chars r-x indicate permissions for

A

anyone else aka other or o

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

permission

filetypes

contain data of any kind and can be modified, moved, copied and deleted

A
  • (normal file)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

permission

filetypes

y contains other files or directories and helps to organize the file system. Technically,
directories are a special kind of file

A

d (directory)

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

permission

filetypes

is a pointer to another file or directory elsewhere in the filesystem.

A

l (softlink)

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

permission

filetypes

a virtual or physical device, usually disks or other kinds of storage devices.
For example, the first hard disk in the system might be represented by /dev/sda

A

b (block device)

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

permission

filetypes

virtual or physical device. Terminals (like the main terminal on
/dev/ttyS0) and serial ports are common examples of character devices

A

c (character device)

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

permission

filetypes

s “conduits” passing information between two programs.

A

s (socket)

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

permission

file permissions

Stands for read and has an octal value of 4 (don’t worry, we will discuss octals shortly). This
means permission to open a file and read its contents

A

r

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

permission

file permissions

Stands for write and has an octal value of 2. This means permission to edit or delete a file

A

w

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

permission

file permissions

Stands for execute and has an octal value of 1. This means that the file can be run as an
executable or script.

A

x

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

permission

directory permissions

Stands for read and has an octal value of 4. This means permission to read the directory’s
contents, like filenames. But it does not imply permission to read the files themselves.

A

r

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

permission

directory permissions

Stands for write and has an octal value of 2. This means permission to create or delete files in a
directory, or change their names, permissions and owners. If a user has the write permission
on a directory, the user can change permissions of any file in the directory, even if the user has
no permissions on the file or if the file is owned by another user

A

w

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

permission

directory permissions

Stands for execute and has an octal value of 1. This means permission to enter a directory, but
not to list its files (for that, the r permission is needed).

A

x