# File 'containers/app.yml' is unwritable

**URL:** <https://meta.discourse.org/t/file-containers-app-yml-is-unwritable/124592>\
**Category:** Self-hosting\
**Created:** [August 1, 2019, 9:44am UTC](https://meta.discourse.org/t/file-containers-app-yml-is-unwritable/124592 "2019-08-01T09:44:51Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![fzngagan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fzngagan/32/259349_2.png) [@fzngagan](https://meta.discourse.org/u/fzngagan)\
**Post date:** [August 1, 2019, 10:57am UTC](https://meta.discourse.org/t/file-containers-app-yml-is-unwritable/124592/9 "2019-08-01T10:57:36Z")

</div>

There you go. You aren’t logged in as root. And the file belongs to the root user. That’s why you aren’t able to write to that file.

Actually, with EC2, you cannot login as root directly. Now, you’re logged in as `ubuntu` user.

type in `sudo su -`

---

_[View the full topic](https://meta.discourse.org/t/file-containers-app-yml-is-unwritable/124592)._
