summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorJohn Olheiser <john.olheiser@gmail.com>2022-10-02 03:12:59 -0500
committerGitHub <noreply@github.com>2022-10-02 04:12:59 -0400
commitf82f1d05b11eb63d4d03cc5ff6cbcb82d75eba8f (patch)
tree9cc7eb0abf404c5aaf1d1344bc2333f601aeeece /docs
parenteaa67671ccab8758fd194a46491790ea2a8045a9 (diff)
downloadgitea-f82f1d05b11eb63d4d03cc5ff6cbcb82d75eba8f.tar.gz
gitea-f82f1d05b11eb63d4d03cc5ff6cbcb82d75eba8f.zip
Make app.ini read-only message more prominent (#21315)
Diffstat (limited to 'docs')
-rw-r--r--docs/content/doc/installation/from-binary.en-us.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/content/doc/installation/from-binary.en-us.md b/docs/content/doc/installation/from-binary.en-us.md
index f603fe37cf..78d2d8d08d 100644
--- a/docs/content/doc/installation/from-binary.en-us.md
+++ b/docs/content/doc/installation/from-binary.en-us.md
@@ -97,12 +97,12 @@ chown root:git /etc/gitea
chmod 770 /etc/gitea
```
-**NOTE:** `/etc/gitea` is temporarily set with write permissions for user `git` so that the web installer can write the configuration file. After the installation is finished, it is recommended to set permissions to read-only using:
-
-```sh
-chmod 750 /etc/gitea
-chmod 640 /etc/gitea/app.ini
-```
+> **NOTE:** `/etc/gitea` is temporarily set with write permissions for user `git` so that the web installer can write the configuration file. After the installation is finished, it is recommended to set permissions to read-only using:
+>
+> ```sh
+> chmod 750 /etc/gitea
+> chmod 640 /etc/gitea/app.ini
+> ```
If you don't want the web installer to be able to write to the config file, it is possible to make the config file read-only for the Gitea user (owner/group `root:git`, mode `0640`) however you will need to edit your config file manually to: