From 955df8b61898b65557ae67780b1a804a0850cfc2 Mon Sep 17 00:00:00 2001 From: kehrwoche Date: Mon, 7 Sep 2015 11:40:59 +0200 Subject: [PATCH] Update external_storage_configuration.rst The mount.json structure example was no valid json and hence did not work. Two commas were missing. Furthermore the formatting information about mount.json (no carriage returns, one line online) are also wrong - just look at a GUI generated mount.json file. --- .../external_storage_configuration.rst | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/admin_manual/configuration_files/external_storage_configuration.rst b/admin_manual/configuration_files/external_storage_configuration.rst index 9205dd5d3..271fcbce3 100644 --- a/admin_manual/configuration_files/external_storage_configuration.rst +++ b/admin_manual/configuration_files/external_storage_configuration.rst @@ -47,10 +47,6 @@ See :doc:`../configuration_server/occ_command` to learn more about ``occ``. .. note:: A non-blocking or correctly configured SELinux setup is needed for these backends to work. Please refer to the :ref:`selinux-config-label`. -Please keep in mind that some formatting has been applied and carriage returns -have been added for better readability. In the :file:`data/mount.json` all -values need to be concatenated and written in a row without these modifications! - It is recommended to use the :doc:`Web-GUI ` in the administrator panel to add, remove or modify mount options to prevent any problems! @@ -85,31 +81,32 @@ Example .. code-block:: json - {"group":{ + { + "group":{ "admin":{ "\/$user\/files\/Admin_Stuff":{ "class":"\\OC\\Files\\Storage\\Local", "options":{ ... }, "priority":150 - } } - } - "user":{ + } + }, + "user":{ "all":{ "\/$user\/files\/Pictures":{ "class":"\\OC\\Files\\Storage\\DAV", "options":{ ... }, "priority":100 - } } + }, "someuser":{ "\/someuser\/files\/Music":{ "class":"\\OC\\Files\\Storage\\FTP", "options":{ ... }, "priority":100 - } } - } + } + } } Priorities