clean-docker / Magento2

Docker Image to Magento 2 local development in Mac, Linux and Windows
https://hub.docker.com/r/rafaelcgstz/magento2/
MIT License
444 stars 251 forks source link

Fix Permition in .composer #69

Open inluxc opened 5 years ago

inluxc commented 5 years ago

We need to fix permition in /var/www/composer

Cannot create cache directory /var/www/.composer/cache/repo/https---repo.magento.com/, or directory is not writable. Proceeding without cache Cannot create cache directory /var/www/.composer/cache/repo/https---repo.packagist.org/, or directory is not writable. Proceeding without cache Cannot create cache directory /var/www/.composer/cache/files/, or directory is not writable. Proceeding without cache

mikerocker11 commented 5 years ago

I have the same issue

Nerjuz commented 5 years ago

Login as root ./shell root And ru command fix-permission

mikerocker11 commented 5 years ago

Thank you, that solved the problem

Gray-Kyle commented 1 year ago

I have the same problem but still can not find a solution. I am trying to install akeneo and have had no luck. I an not an export in anyway. I just want to test the software.

First Error: Cannot create cache directory /var/www/.composer/cache/repo/https---repo.packagist.org/, or directory is not writable. Proceeding without cache. See also cache-read-only config if your filesystem is read-only.

I do not have a .composer file to over write it.

Second Error: Cannot create cache directory /var/www/.composer/cache/repo/flex/, or directory is not writable. Proceeding without cache. See also cache-read-only config if your filesystem is read-only.

Same problem no .composer file to over write.

Third Error: Error: EACCES: permission denied, mkdir '/home/node/.cypress/6.9.1'

Not able to allow write on this file also.