Add instructions to set permissions on installation directories.
This commit is contained in:
parent
b1b5085112
commit
3ddb24c2ba
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user