Hi,
an addon for HA supervisor should not run with root permissions. It makes it more vulnerable to hacking.
However, if the add on runs as non root user and it needs write access. to the. /data directory, it will fail, because the /data directory has the following permissions:
drwxr-xr-x 2 root root /data
How can the /data directory get write access for a non root user?
If the add on runs in a standalone docker container, it can be configured in docker compose and in the directory of the docker host.