# I want to edit Host OS read-only files

**URL:** <https://forums.balena.io/t/i-want-to-edit-host-os-read-only-files/21266>\
**Category:** Product support\
**Tags:** raspberrypi3, wifi, docker, network\
**Created:** [July 19, 2019, 4:02am UTC](https://forums.balena.io/t/i-want-to-edit-host-os-read-only-files/21266 "2019-07-19T04:02:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![t.higashi](https://avatars.discourse-cdn.com/v4/letter/t/ea666f/32.png) [@t.higashi](https://forums.balena.io/u/t.higashi)\
**Post date:** [July 19, 2019, 4:02am UTC](https://forums.balena.io/t/i-want-to-edit-host-os-read-only-files/21266/1 "2019-07-19T04:02:16Z")

</div>

I want to use NetworkManager with the systemd service running on the container pi user. Therefore, I want to edit `/etc/dbus-1/system.d/org.freedesktop.NetworkManager.conf` of host OS, but I can not do it because it is a read-only file system.  
And I want to do the editing from inside the container.  
Is there any way?

---

<div class="post-metadata">

**Author:** ![spanceac](https://avatars.discourse-cdn.com/v4/letter/s/cc9497/32.png) [@spanceac](https://forums.balena.io/u/spanceac)\
**Post date:** [July 19, 2019, 7:10am UTC](https://forums.balena.io/t/i-want-to-edit-host-os-read-only-files/21266/2 "2019-07-19T07:10:42Z")

</div>

Hi,

Regarding dbus communication between hostOS and container we have this document: [https://www.balena.io/docs/learn/develop/runtime/#dbus-communication-with-host-os](https://www.balena.io/docs/learn/develop/runtime/#dbus-communication-with-host-os)

Also, you can’t access the hostOS filesystem from the container.

If you want to edit that file you will have to mount the root partition as r/w from the hostOS:  
`mount -o remount,rw /`

---

<div class="post-metadata">

**Author:** ![t.higashi](https://avatars.discourse-cdn.com/v4/letter/t/ea666f/32.png) [@t.higashi](https://forums.balena.io/u/t.higashi)\
**Post date:** [July 19, 2019, 8:44am UTC](https://forums.balena.io/t/i-want-to-edit-host-os-read-only-files/21266/4 "2019-07-19T08:44:46Z")

</div>

I understand. Thank you.
