Commit 48828f5
committed
docs: add file permissions guidance to hardening page
Adds a new 'Set strong file permissions' subsection to the Deployment
section of harden_server.rst.
The permissions section was removed in PR #431 because the web updater
needs write access to the install dir, but no replacement guidance was
added. This restores the guidance with the tradeoff clearly documented:
- baseline chmod/chown commands for read-only install dir
- note that data/ and apps/ must stay writable
- note that web updater must be disabled (upgrade.disable-web) before
applying stricter install-dir permissions
Fixes #1353
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>1 parent e8705ef commit 48828f5
1 file changed
Lines changed: 41 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
77 | 118 | | |
78 | 119 | | |
79 | 120 | | |
| |||
0 commit comments