From 9d25d02cc7dedd4d590e57b733876a6b4cdf1887 Mon Sep 17 00:00:00 2001 From: Dominik Date: Thu, 4 Nov 2021 13:06:21 +0100 Subject: [PATCH] [Docs] Fix Docker install instruction Recursive chmod directory `var` instead of its content. Fixes "Unable to create a directory at /var/www/html/var/admin. mkdir(): Permission denied" when user mapping is not being used. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 70d8c06e5..d3795f409 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ docker run --rm -v `pwd`:/var/www/html pimcore/pimcore:PHP8.0-fpm composer creat cd ./my-project docker-compose up -d docker-compose exec php-fpm vendor/bin/pimcore-install --mysql-host-socket=db --mysql-username=pimcore --mysql-password=pimcore --mysql-database=pimcore -docker-compose exec php-fpm chown -R www-data:www-data var/* +docker-compose exec php-fpm chown -R www-data:www-data var ``` You can now navigate your browser to https://localhost or https://localhost/admin.