thank you Felix!
the broken expectation from me was that users "have" a group and
supplementar-groups (as suggested by the (user-account #:group ...)
constructor), and if i specify the user to fork+exec-command, then it sets
"its" group, too (i tried with and without specifying a #:group).
in
Hi Attila,
On Wed, Jun 28, 2023 at 1:27 PM Attila Lendvai wrote:
>
> but through Shepherd the daemon fails while starting up due to a permission
> denied error:
>
> i created a user for that daemon, and added dialout as a supplementary group:
>
> (supplementary-groups '("dialout"))
>
>
dear Guix,
i have a daemon that i (try to) run/start through Shepherd's fork+exec-command,
with a specific user and group. i can start it up using su or sudo, both work:
$ sudo --user zigbee2mqtt bash -c "guix shell node gcc-toolchain make python
libuv -- bash -c 'cd /srv/zigbee2mqtt && npm sta