Add installation step to allow www-data to traverse ~mastodon

This commit is contained in:
James Williams 2022-11-20 07:55:16 -05:00
parent 3f6b23b3ce
commit 7cf3497918
1 changed files with 6 additions and 0 deletions

View File

@ -64,6 +64,12 @@ We will be using rbenv to manage Ruby versions, because its easier to get the
adduser --disabled-login mastodon
```
The mastodon user's home directory will contain the application, so we need to ensure that other users (such as the web server process) can traverse files in it:
```bash
chmod a+x /home/mastodon
```
We can then switch to the user:
```bash