From 3ddb24c2ba636522112b98dd334af4a26c5f3eee Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Mon, 11 Oct 2021 21:06:00 +1100 Subject: Add instructions to set permissions on installation directories. --- docs/source/siteadmin/deploying.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/source/siteadmin/deploying.rst b/docs/source/siteadmin/deploying.rst index 0578d0cc..b636fb21 100644 --- a/docs/source/siteadmin/deploying.rst +++ b/docs/source/siteadmin/deploying.rst @@ -223,10 +223,19 @@ particular requirements:: # Debian sudo mkdir --parents /srv/mediagoblin.example.org sudo chown --no-dereference --recursive mediagoblin:www-data /srv/mediagoblin.example.org + find /srv/mediagoblin.example.org -type d -exec chmod 755 {} \; + find /srv/mediagoblin.example.org -type f -exec chmod 644 {} \; + find /srv/mediagoblin.example.org/mediagoblin/user_dev/crypto -type d -exec chmod 750 {} \; + find /opt/mediagoblin.example.org/mediagoblin/user_dev/crypto -type f -exec chmod 640 {} \; # Fedora sudo mkdir --parents /srv/mediagoblin.example.org sudo chown --no-dereference --recursive mediagoblin:nginx /srv/mediagoblin.example.org + sudo chown --no-dereference --recursive mediagoblin:www-data /srv/mediagoblin.example.org + find /srv/mediagoblin.example.org -type d -exec chmod 755 {} \; + find /srv/mediagoblin.example.org -type f -exec chmod 644 {} \; + find /srv/mediagoblin.example.org/mediagoblin/user_dev/crypto -type d -exec chmod 750 {} \; + find /opt/mediagoblin.example.org/mediagoblin/user_dev/crypto -type f -exec chmod 640 {} \; Install MediaGoblin and Virtualenv -- cgit v1.2.3