aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLasse Brandt Thomsen2021-03-20 00:45:04 +0100
committerGitHub2021-03-20 00:45:04 +0100
commit0fe32826eda43d95c457ace2863f159aa67c40f5 (patch)
tree623ddc9c0ef93fc03d4cbf990733cb49c613680a
parentcf549500e063cfc340c4bf60b7abec54ced135d2 (diff)
Allow read/write to user root and only read to group git on documentation (#15041)v1.15.0-dev
Co-authored-by: Lasse Brandt Thomsen <lasse@bitmand.dk>
-rw-r--r--docs/content/doc/installation/from-binary.en-us.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/doc/installation/from-binary.en-us.md b/docs/content/doc/installation/from-binary.en-us.md
index 229a3cde4..9d8864956 100644
--- a/docs/content/doc/installation/from-binary.en-us.md
+++ b/docs/content/doc/installation/from-binary.en-us.md
@@ -79,7 +79,7 @@ chmod 770 /etc/gitea
chmod 750 /etc/gitea
chmod 640 /etc/gitea/app.ini
```
-If you don't want the web installer to be able to write the config file at all, it is also possible to make the config file read-only for the gitea user (owner/group `root:root`, mode `0660`), and set `INSTALL_LOCK = true`. In that case all database configuration details must be set beforehand in the config file, as well as the `SECRET_KEY` and `INTERNAL_TOKEN` values. See the [command line documentation]({{< relref "doc/usage/command-line.en-us.md" >}}) for information on using `gitea generate secret INTERNAL_TOKEN`.
+If you don't want the web installer to be able to write the config file at all, it is also possible to make the config file read-only for the gitea user (owner/group `root:git`, mode `0640`), and set `INSTALL_LOCK = true`. In that case all database configuration details must be set beforehand in the config file, as well as the `SECRET_KEY` and `INTERNAL_TOKEN` values. See the [command line documentation]({{< relref "doc/usage/command-line.en-us.md" >}}) for information on using `gitea generate secret INTERNAL_TOKEN`.
### Configure Gitea's working directory