From 98f308259c72624723588d973f4ba3acd6ab5f82 Mon Sep 17 00:00:00 2001 From: Yotam Date: Sun, 17 Dec 2017 14:10:35 +0200 Subject: [PATCH] Added recursive flag to chown command --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 1b9a72e8..d01b1e15 100644 --- a/README.md +++ b/README.md @@ -318,16 +318,16 @@ docker-compose exec db rm /dmp 4. Copy your data (nextcloud_app_1 is the name of your Nextcloud container): ```console docker cp ./data/ nextcloud_app_1:/var/www/html/data -docker-compose exec app chown www-data:www-data /var/www/html/data +docker-compose exec app chown -R www-data:www-data /var/www/html/data docker cp ./theming/ nextcloud_app_1:/var/www/html/theming -docker-compose exec app chown www-data:www-data /var/www/html/theming +docker-compose exec app chown -R www-data:www-data /var/www/html/theming docker cp ./config/config.php nextcloud_app_1:/var/www/html/config -docker-compose exec app chown www-data:www-data /var/www/html/config +docker-compose exec app chown -R www-data:www-data /var/www/html/config ``` 5. Copy only the custom apps you use (or simply redownload them from the web interface): ```console docker cp ./apps/ nextcloud_data:/var/www/html/custom_apps -docker-compose exec app chown www-data:www-data /var/www/html/custom_apps +docker-compose exec app chown -R www-data:www-data /var/www/html/custom_apps ``` # Questions / Issues