File system permissions Flashcards

1
Q

what can happens with improper filesystem permissions?

A

an attacker may be able to access restricted files or directories and modify or delete their contents.

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

User permission levels

A
  • Owner
  • Administrator
  • Group access
  • Global
  • Individual user
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Owner

A

The person who created the files

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

Administrator

A

The person responsible for managing and updating files, also for setting permsissions

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

Group Access

A

This allows you to designate specific groups of users and provide unique settings specific to them

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

Global

A

Provides access to all users

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

Individual user

A

Many programs allow you to create a specific level of access at the individual user level

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

Filesystem permission types

A
  • Read
  • Write
  • Execute
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Read

A

Users with this level can view and copy files but cannot make any changes

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

Write

A

Users with this level of permission can edit, rename and move files

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

Execute

A

a user can run a program of a type of program file

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

Setting file system permissions

A

Depending on the program or programming language being used, it is likely you can set your own levels of filesystem access.

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

How to change filesystem permissions

A

os.chmod(path, mode)

  • path: a String represents the path of the file/ directory
  • mode: contains different values related to permissions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly