mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-02 17:59:36 +07:00
Make consistent mode settings syntax
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user