Skip to content

Commit

Permalink
Merge pull request #2 from nlcruise/patch-2
Browse files Browse the repository at this point in the history
Update file-permissions.md
  • Loading branch information
nlcruise authored Jun 8, 2023
2 parents 33b80da + 655c634 commit 53d321c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions server/file-permissions.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

On computer file systems, different files and directories have **permissions** that specify who and what can read, write, modify and access them. This is important because WordPress may need access to write to files in your `wp-content` directory to enable certain functions.

## Short explanation

Linux [file permissions](https://en.wikipedia.org/wiki/File_system_permissions) consist primarily of three components -- the permissions the owner of the file or folder has, the permissions members of the group that owns the file or folder have, and the permissions that anyone else has for accessing or modifying the file and folder. The three permission components are usually represented using three numbers in order of the owner's permission level, the group's permission level, and everyone's permission level. _There is technically a fourth component, but that is beyond what we need to know to secure WordPress. It will not be discussed here._

There are three kinds of access each for the user, the group, and everyone else. They are read access, write access, and execute access. Read access lets you read the contents of the file or the directory. Write access lets you modify the file or the directory. And execute access lets you run the file like a program or a script.

## Permission Modes

```
Expand Down

0 comments on commit 53d321c

Please sign in to comment.