From 7cf3497918ecf969648ab6bd5737add1ecf00c48 Mon Sep 17 00:00:00 2001 From: James Williams Date: Sun, 20 Nov 2022 07:55:16 -0500 Subject: [PATCH] Add installation step to allow www-data to traverse ~mastodon --- content/en/admin/install.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/content/en/admin/install.md b/content/en/admin/install.md index 2105f536..c7f5edff 100644 --- a/content/en/admin/install.md +++ b/content/en/admin/install.md @@ -64,6 +64,12 @@ We will be using rbenv to manage Ruby versions, because it’s 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