From 692261d4057ba59d5642fe218c5703950282578d Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Mon, 11 Oct 2021 21:09:10 +1100 Subject: [PATCH] Add sudo. --- docs/source/siteadmin/deploying.rst | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/source/siteadmin/deploying.rst b/docs/source/siteadmin/deploying.rst index b636fb21..dadd3080 100644 --- a/docs/source/siteadmin/deploying.rst +++ b/docs/source/siteadmin/deploying.rst @@ -223,19 +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 {} \; + 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 {} \; # 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 {} \; + 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 {} \; Install MediaGoblin and Virtualenv -- 2.45.2