diff options
| author | Ben Sturmfels <ben@sturm.com.au> | 2021-10-11 22:12:19 +1100 | 
|---|---|---|
| committer | Ben Sturmfels <ben@sturm.com.au> | 2021-10-11 22:12:19 +1100 | 
| commit | 522a61b24a1b7767682eaf7b29c59e40a0a9b73f (patch) | |
| tree | 57f3970bc7c92e4f0a53d346486375ac1734ceb0 | |
| parent | 9bcc05bd2dc3a5241ce1fd2ed7616f7de00873fd (diff) | |
| download | mediagoblin-522a61b24a1b7767682eaf7b29c59e40a0a9b73f.tar.lz mediagoblin-522a61b24a1b7767682eaf7b29c59e40a0a9b73f.tar.xz mediagoblin-522a61b24a1b7767682eaf7b29c59e40a0a9b73f.zip | |
Move permissions lines.
| -rw-r--r-- | docs/source/siteadmin/deploying.rst | 20 | 
1 files changed, 10 insertions, 10 deletions
| diff --git a/docs/source/siteadmin/deploying.rst b/docs/source/siteadmin/deploying.rst index f32e4735..54906cfb 100644 --- a/docs/source/siteadmin/deploying.rst +++ b/docs/source/siteadmin/deploying.rst @@ -223,20 +223,10 @@ particular requirements::      # Debian      sudo mkdir --parents /srv/mediagoblin.example.org      sudo chown --no-dereference --recursive mediagoblin:www-data /srv/mediagoblin.example.org -    sudo find /srv/mediagoblin.example.org -type d -exec chmod 755 {} \; -    sudo find /srv/mediagoblin.example.org -type f -exec chmod 644 {} \; -    sudo find /srv/mediagoblin.example.org/mediagoblin/user_dev/crypto -type d -exec chmod 750 {} \; -    sudo find /opt/mediagoblin.example.org/mediagoblin/user_dev/crypto -type f -exec chmod 640 {} \; -    sudo find /opt/mediagoblin.example.org/mediagoblin/bin -type f -exec chmod 750 {} \;      # Fedora      sudo mkdir --parents /srv/mediagoblin.example.org      sudo chown --no-dereference --recursive mediagoblin:nginx /srv/mediagoblin.example.org -    sudo find /srv/mediagoblin.example.org -type d -exec chmod 755 {} \; -    sudo find /srv/mediagoblin.example.org -type f -exec chmod 644 {} \; -    sudo find /srv/mediagoblin.example.org/mediagoblin/user_dev/crypto -type d -exec chmod 750 {} \; -    sudo find /opt/mediagoblin.example.org/mediagoblin/user_dev/crypto -type f -exec chmod 640 {} \; -    sudo find /opt/mediagoblin.example.org/mediagoblin/bin -type f -exec chmod 750 {} \;  Install MediaGoblin and Virtualenv @@ -484,9 +474,19 @@ created::      # Debian      sudo chown --no-dereference --recursive mediagoblin:www-data /srv/mediagoblin.example.org +    sudo find /srv/mediagoblin.example.org -type d -exec chmod 755 {} \; +    sudo find /srv/mediagoblin.example.org -type f -exec chmod 644 {} \; +    sudo find /srv/mediagoblin.example.org/mediagoblin/user_dev/crypto -type d -exec chmod 750 {} \; +    sudo find /opt/mediagoblin.example.org/mediagoblin/user_dev/crypto -type f -exec chmod 640 {} \; +    sudo find /opt/mediagoblin.example.org/mediagoblin/bin -type f -exec chmod 750 {} \;      # Fedora      sudo chown --no-dereference --recursive mediagoblin:nginx /srv/mediagoblin.example.org +    sudo find /srv/mediagoblin.example.org -type d -exec chmod 755 {} \; +    sudo find /srv/mediagoblin.example.org -type f -exec chmod 644 {} \; +    sudo find /srv/mediagoblin.example.org/mediagoblin/user_dev/crypto -type d -exec chmod 750 {} \; +    sudo find /opt/mediagoblin.example.org/mediagoblin/user_dev/crypto -type f -exec chmod 640 {} \; +    sudo find /opt/mediagoblin.example.org/mediagoblin/bin -type f -exec chmod 750 {} \;  .. note:: | 
