Skip to content

run script changes ownership to root #11

@bdr99

Description

@bdr99

I noticed that whenever I start the HA container, the run script changes ownership to root. Even if I change it to be owned by my user, when I restart the container again, it changes back to root. Is there a way to keep this file owned by my user?

$ ls -l data/docker/run
-rwxr-xr-x 1 root root 2089 Jun 22 21:32 data/docker/run
$ sudo chown brandon:brandon data/docker/run
$ ls -l data/docker/run
-rwxr-xr-x 1 brandon brandon 2089 Jun 22 21:32 data/docker/run
$ docker-compose restart
Restarting home-assistant ... done
$ ls -l data/docker/run
-rwxr-xr-x 1 root root 2089 Jun 22 21:32 data/docker/run

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions