|Using local storage is a security risk, only use it if you know what you are doing.|
Local storage provides the ability to mount any directory on your ownCloud server that is:
Outside of your ownCloud
Both readable and writable by your web server user
As this setup diffuses the difference between ownCloud Admin and sysadmin, this is a significant security risk and therefore off by default.
In any case, local storage is only configurable via the ownCloud admin settings. Non-admin users cannot create local storage mounts.
See Set Correct Permissions for information on correct file permissions, and find your HTTP user PHP Version and Information.
To enable Local storage, you must first enable it by editing your ownCloud installation’s
config/config.php file adding the following configuration key:
'files_external_allow_create_new_local' => 'true',
To manage local storage, navigate to. You can see an example in the screenshot below.
In the Folder name field enter the folder name that you want to appear on your ownCloud Files page.
In the Configuration field enter the full file path 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.
See External Storage Configuration for additional mount options and information, and External Storage Authentication mechanisms for more information on authentication schemes.