Article 5790M composer: composer.json is not writable

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.latest?d=yIl2AUoC8zA latest?i=bW__yv1gAo8:fCLh4iFCAUc:F7zBnMy latest?i=bW__yv1gAo8:fCLh4iFCAUc:V_sGLiP latest?d=qj6IDK7rITs latest?i=bW__yv1gAo8:fCLh4iFCAUc:gIN9vFwbW__yv1gAo8
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments