Skip to content

Commit f82f1d0

Browse files
authored
Make app.ini read-only message more prominent (#21315)
1 parent eaa6767 commit f82f1d0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/content/doc/installation/from-binary.en-us.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,12 @@ chown root:git /etc/gitea
9797
chmod 770 /etc/gitea
9898
```
9999

100-
**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:
101-
102-
```sh
103-
chmod 750 /etc/gitea
104-
chmod 640 /etc/gitea/app.ini
105-
```
100+
> **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:
101+
>
102+
> ```sh
103+
> chmod 750 /etc/gitea
104+
> chmod 640 /etc/gitea/app.ini
105+
> ```
106106
107107
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:
108108

0 commit comments

Comments
 (0)