Magento2 icon indicating copy to clipboard operation
Magento2 copied to clipboard

Fix Permition in .composer

Open inluxc opened this issue 5 years ago • 4 comments

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

inluxc avatar Oct 12 '18 10:10 inluxc

I have the same issue

mikerocker11 avatar Oct 18 '18 13:10 mikerocker11

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

Nerjuz avatar Oct 18 '18 14:10 Nerjuz

Thank you, that solved the problem

mikerocker11 avatar Oct 24 '18 16:10 mikerocker11

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.

Gray-Kyle avatar Feb 07 '23 18:02 Gray-Kyle