Make consistent mode settings syntax

This commit is contained in:
Carla Schroder
2015-01-02 11:12:18 -08:00
parent da7b7d0f9d
commit a9ead38b08

View File

@@ -189,7 +189,7 @@ For hardened security we highly recommend setting the permissions on your ownCl
as possible. These commands should be executed immediately after the initial installation::
chown -R root:root /path/to/owncloud/
chmod -R 755 /path/to/owncloud/
chmod -R 0755 /path/to/owncloud/
chown <http-user>:<http-user> /path/to/owncloud/config/
chmod 0750 /path/to/owncloud/config/
chown <http-user>:<http-user> /path/to/owncloud/config/config.php
@@ -197,9 +197,9 @@ as possible. These commands should be executed immediately after the initial ins
chown -R <http-user>:<http-user> /path/to/owncloud/data/
chmod -R 750 /path/to/owncloud/data
chown root:root /path/to/owncloud/data/.htaccess
chmod 755 /path/to/owncloud/data/.htaccess
chmod 0755 /path/to/owncloud/data/.htaccess
chown <http-user>:<http-user> /path/to/owncloud/apps/
chmod 750 /path/to/owncloud/apps/
chmod 0750 /path/to/owncloud/apps/
These strict permissions will prevent the Updater app from working (see :doc:`../maintenance/update`). If you use the Updater app, it needs your whole
ownCloud directory to be owned by the HTTP user, like these examples: