I am trying to use Mark Shust's repo to install Magento 2 with Docker.
For some strange reason, I am getting this error:
I tried all the answers here.
For more details: https://github.com/markoshust/magento-docker/issues/80
Would really appreciate some help.
Update
I am logged in as root and have tried all variations of chmod -R 777 var. The files that refuse to change ownership are all from /var/www/html/var/composer_home/.
Here are current permissions for folder:
total 40
-rwxrwxrwx 1 app app 189 Jan 16 18:44 auth.json
drwxr-xr-x 6 root root 192 Aug 31 19:57 cache
-rwxrwxrwx 1 app app 63 Sep 4 22:14 composer.json
-rw-r--r-- 1 root root 21034 Sep 4 22:03 composer.lock
-rwxrwxrwx 1 app app 799 Sep 4 18:10 keys.dev.pub
-rwxrwxrwx 1 app app 799 Sep 4 18:10 keys.tags.pub
drwxr-xr-x 9 root root 288 Sep 4 22:14 vendor
Sample error:
chown: changing ownership of '/var/www/html/var/composer_home/.htaccess': Operation not permitted
/var/www/html/var/composer_home. I get an error that 'Operation not permitted'. I am the root user and attempting to giveapp:appownership. – Avi Kaminetzky Jan 16 '18 at 21:31sudo chown -r app:app /var/www/html/var/- this should change the ownership and group of that folder and all files within it to theappuser. – Lez Jan 16 '18 at 21:43root@a239efb26839:/var/www/html#, but do I need it? – Avi Kaminetzky Jan 16 '18 at 21:47