diff options
author | Ben Sturmfels <ben@sturm.com.au> | 2021-10-11 21:06:00 +1100 |
---|---|---|
committer | Ben Sturmfels <ben@sturm.com.au> | 2021-10-11 21:06:00 +1100 |
commit | 3ddb24c2ba636522112b98dd334af4a26c5f3eee (patch) | |
tree | 44cb18961c6ab9d49f45be6f179fc1195184b17d | |
parent | b1b5085112c1af1388a1bab1f35205f4efae27d6 (diff) | |
download | mediagoblin-3ddb24c2ba636522112b98dd334af4a26c5f3eee.tar.lz mediagoblin-3ddb24c2ba636522112b98dd334af4a26c5f3eee.tar.xz mediagoblin-3ddb24c2ba636522112b98dd334af4a26c5f3eee.zip |
Add instructions to set permissions on installation directories.
-rw-r--r-- | docs/source/siteadmin/deploying.rst | 9 |
1 files changed, 9 insertions, 0 deletions
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 |