composer: composer.json is not writable
by Oldy from LinuxQuestions.org on (#5790M)
Hi there, I have Ubuntu/VPS, nginx, mariadb, /var/www/html/test.com/composer.json: permission=755, chown/chgrp=www-data/www-data
oldy: composer update/upgrade
Code:Update symfony/polyfill-ctype (v1.17.0 => v1.18.1) : Update failed (Could not delete /vendor/symfony/polyfill-ctype/README.md)
In Filesystem.php line 217:
Could not delete /vendor/symfony/polyfill-ctype/README.mdoldy: composer require symfony/polyfill-ctype
Code:./composer.json is not writable.Can you tell me about this? I am almost newbie to this.


oldy: composer update/upgrade
Code:Update symfony/polyfill-ctype (v1.17.0 => v1.18.1) : Update failed (Could not delete /vendor/symfony/polyfill-ctype/README.md)
In Filesystem.php line 217:
Could not delete /vendor/symfony/polyfill-ctype/README.mdoldy: composer require symfony/polyfill-ctype
Code:./composer.json is not writable.Can you tell me about this? I am almost newbie to this.