# Permission Denied when Trying to Install Acorn in Theme Directory

**URL:** https://discourse.roots.io/t/permission-denied-when-trying-to-install-acorn-in-theme-directory/26468
**Category:** acorn
**Created:** 2023-12-28T02:30:00Z
**Posts:** 6
**Showing post:** 6 of 6

## Post 6 by @ben — 2023-12-28T19:10:55Z

[Please don’t post screenshots of error messages](https://discourse.roots.io/t/how-to-best-ask-questions-on-this-forum/24582)

Searching your original error has some helpful results such as [php - Composer: file\_put\_contents(./composer.json): failed to open stream: Permission denied - Stack Overflow](https://stackoverflow.com/questions/41212362/composer-file-put-contents-composer-json-failed-to-open-stream-permission) that shows some commands you can run to fix the permissions

---

_[View the full topic](https://discourse.roots.io/t/permission-denied-when-trying-to-install-acorn-in-theme-directory/26468)._
