From e0a7d0a778ab5a5fe7c803aec3c073d58affc251 Mon Sep 17 00:00:00 2001 From: mario Date: Thu, 14 Sep 2017 15:00:25 +0200 Subject: [PATCH] fix bash chown problem --- .../configuration_files/external_storage/local.rst | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/admin_manual/configuration_files/external_storage/local.rst b/admin_manual/configuration_files/external_storage/local.rst index ff2b85cb3..10b14029e 100644 --- a/admin_manual/configuration_files/external_storage/local.rst +++ b/admin_manual/configuration_files/external_storage/local.rst @@ -12,9 +12,15 @@ 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 - + sudo chown -R www-data:www-data /path/to/localdir + sudo chmod -R 0750 /path/to/localdir + +Important: If you use consecutive commands, make sure, you are user ``www-data``:: + + sudo -u www-data bash + cd /path/to/localdir + mkdir data + In the **Folder name** field enter the folder name that you want to appear on your Nextcloud Files page.