mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-04 10:46:21 +07:00
* Changes for Nextcloud * Changes for Nextcloud * Update command_line_installation.rst -oci Enterprise removed * removed Enterprise * Changing to nextcloud * enterprise removed * Update external_storage_configuration_gui.rst typo * Update command_line_installation.rst Oracle changed * to nextcloud * Update linux_installation.rst * Update linux_installation.rst
36 lines
1.2 KiB
ReStructuredText
36 lines
1.2 KiB
ReStructuredText
=====
|
|
Local
|
|
=====
|
|
|
|
Local storages provide access to any directory on the Nextcloud server. Since
|
|
this is a significant security risk, Local storage can only be configured in
|
|
the Nextcloud admin settings. Non-admin users cannot create Local storage
|
|
mounts.
|
|
|
|
Use this to mount any directory on your Nextcloud server that is outside
|
|
of your Nextcloud ``data/`` directory. This directory must be readable and
|
|
writable by your HTTP server user. These ownership and permission examples
|
|
are on Ubuntu Linux::
|
|
|
|
sudo -u www-data chown -R www-data:www-data /localdir
|
|
sudo -u www-data chmod -R 0750 /localdir
|
|
|
|
See :ref:`strong_perms_label` for information on correct file permissions, and
|
|
find your HTTP user :ref:`label-phpinfo`.
|
|
|
|
In the **Folder name** field enter the folder name that you want to appear on
|
|
your Nextcloud Files page.
|
|
|
|
In the **Configuration** field enter the full filepath of the directory you
|
|
want to mount.
|
|
|
|
In the **Available for** field enter the users or groups who have permission to
|
|
access the mount. By default all users have access.
|
|
|
|
.. figure:: images/local.png
|
|
|
|
See :doc:`../external_storage_configuration_gui` for additional mount
|
|
options and information.
|
|
|
|
See :doc:`auth_mechanisms` for more information on authentication schemes.
|