Move permissions lines.
This commit is contained in:
parent
9bcc05bd2d
commit
522a61b24a
@ -223,20 +223,10 @@ particular requirements::
|
|||||||
# Debian
|
# Debian
|
||||||
sudo mkdir --parents /srv/mediagoblin.example.org
|
sudo mkdir --parents /srv/mediagoblin.example.org
|
||||||
sudo chown --no-dereference --recursive mediagoblin:www-data /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
|
# Fedora
|
||||||
sudo mkdir --parents /srv/mediagoblin.example.org
|
sudo mkdir --parents /srv/mediagoblin.example.org
|
||||||
sudo chown --no-dereference --recursive mediagoblin:nginx /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
|
Install MediaGoblin and Virtualenv
|
||||||
@ -484,9 +474,19 @@ created::
|
|||||||
|
|
||||||
# Debian
|
# Debian
|
||||||
sudo chown --no-dereference --recursive mediagoblin:www-data /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
|
# Fedora
|
||||||
sudo chown --no-dereference --recursive mediagoblin:nginx /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 {} \;
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user