Skip to content

Commit b8f9d23

Browse files
committed
Add more details about the permissions used
1 parent 4279706 commit b8f9d23

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,19 @@ This scripts tries to secure the site using the following scheme:
2424

2525
- Content is owned using the same scheme but the web server can write as well.
2626

27+
- Other users have no permissions on content or code.
28+
29+
30+
In UNIX terms:
31+
32+
| | Symbolic notation | Numeric notation | ls notation |
33+
|-------------------- |------------------- |------------------ |------------- |
34+
| **Code folders** | `u=rwx,g=rx,o=` | `0750` | `rwxr-x---` |
35+
| **Code files** | `u=rw,g=r,o=` | `0640` | `rw-r-----` |
36+
| **Content folders** | `u=rwx,g=rwx,o=` | `0770` | `rwxrwx---` |
37+
| **Content files** | `ug=rw,o=` | `0660` | `rw-rw----` |
38+
39+
2740

2841
## Installation
2942

0 commit comments

Comments
 (0)