[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Allow to add more than one group for service user

From: Reza Alizadeh Majd
Subject: Allow to add more than one group for service user
Date: Wed, 19 Aug 2020 12:16:59 +0430

Hi Guix, 

coming from this thread:

I had defined a service that needs to run by a specific user. regarding
application creates a unix domain socket during start and change the
ownership of socket file to specific group.

the problem is that daemon user (the user that runs the service) only
detects it's primary group and don't have permission to `chown` the
socket file. 

I also performed another test and run a bash instance inside a `screen`
using the service. when I check for the user groups, I had seen that
only primary group is detected as group for service user. 

I assume that that this might be a bug on group assignment for service
user. or I might missed something in service definition. 

kind regards,

Reza Alizadeh Majd
PantherX Team

reply via email to

[Prev in Thread] Current Thread [Next in Thread]