Do configuration files are always owned by root?

Hi all,

I am building a pkg for couchdb and trying to make it configurable. It happens that the couchdb code needs writing permissions over its config files.

/hab/svc/{pkg_name}/config directory is owned by hab:hab but the files rendered inside are owned by root with mod 644

Is there anyway to work around this?

Should I copy over what’s rendered to $pkg_svc_path/var on an init hook and read config from there?