<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>

CC BY-SA 4.0
2020-10-23T20:42:01.373Z
2020-10-23T20:42:01.373Z
CraftN00b
<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>

CC BY-SA 4.0
2020-10-26T03:03:11.873Z
Likely a permissions issue... what user:group owns `/var/www/craft-dev/vendor` and what user:group does your web server run as?
Brad Bell
<plugins><cli>
Can't install plug-ins from CP
# 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.


---

