Answers.Body: <p>Yes, looks like you'll need to look at the folder yiisoft and subfolders for permissions. Maybe set them to read, write until you're done and then change them to read only.</p>
  <p>Just thinking off the top of my head about what the issue could be.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-10-23T20:42:01.373Z
Answers.LastActivityDate: 2020-10-23T20:42:01.373Z
Answers.UserDisplayName: CraftN00b
Body: <p>I can install plug-ins from the command line, but when I do so from within Craft, I get this:</p>
  <p><strong>Composer was unable to install the updates.</strong></p>
  <p>Error: Could not delete /var/www/craft-dev/vendor/yiisoft/yii2-shell/ShellController.php: unlink(/var/www/craft-dev/vendor/yiisoft/yii2-shell/ShellController.php): Permission denied</p>
  <p>Composer output: Package &quot;craftcms/vue-asset&quot; listed for update is not installed. Ignoring.
  Loading composer repositories with package information
  Updating dependencies
  Package operations: 8 installs, 2 updates, 4 removals</p>
  <ul>
  <li>Removing yiisoft/yii2-shell (2.0.4)</li>
  </ul>
  <p>Any suggestions? Permission error?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-10-26T03:03:11.873Z
Comments.Text: Likely a permissions issue... what user:group owns `/var/www/craft-dev/vendor` and what user:group does your web server run as?
Comments.UserDisplayName: Brad Bell
Tags: <plugins><cli>
Title: Can't install plug-ins from CP
ThreadText: # Can't install plug-ins from CP
  
  (Asked by: username_0 on 2020-10-23)
  
  I can install plug-ins from the command line, but when I do so from within Craft, I get this:
  
  **Composer was unable to install the updates.**
  
  Error: Could not delete /var/www/craft-dev/vendor/yiisoft/yii2-shell/ShellController.php: unlink(/var/www/craft-dev/vendor/yiisoft/yii2-shell/ShellController.php): Permission denied
  
  Composer output: Package "craftcms/vue-asset" listed for update is not installed. Ignoring.
  Loading composer repositories with package information
  Updating dependencies
  Package operations: 8 installs, 2 updates, 4 removals
  
  * Removing yiisoft/yii2-shell (2.0.4)
  
  Any suggestions? Permission error?
  
  **Tags:** plugins, cli
  
  > **Comments:**
  > **username_1**: Likely a permissions issue... what user:group owns `/var/www/craft-dev/vendor` and what user:group does your web server run as?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2020-10-23. Score: 1
  
  Yes, looks like you'll need to look at the folder yiisoft and subfolders for permissions. Maybe set them to read, write until you're done and then change them to read only.
  
  Just thinking off the top of my head about what the issue could be.
  
  
  ---
  
  