In my nextcloud setup I need user lighttpd being member of a group cloud: getent group cloud cloud:x:996:lighttpd Installing of cct-user/lighttpd-0 removed user lighttpd from the cloud group because by the ACCT_USER_GROUPS=( lighttpd ) setting in the ebuild the acct-user.eclass sets the group list if user lighttpd to ( lighttpd ). I think the ACCT_USER_GROUPS groups should be _added_ only. Reproducible: Always
Is there a way to correct my typos in the description above? - "cct-user/lighttpd-0" should be "acct-user/lighttpd-0" - "the group list if user lighttpd" should be "the group list of user lighttpd"
If you need a custom setup, copy the ebuild to a local overlay and modify it.
Surely I could do that for this special case. But nevertheless I think it's wrong that the acct-user.eclass _sets_ the users groups to the ACCT_USER_GROUPS list instead of _adding_ the ACCT_USER_GROUPS list to the current groups of the user. At least I should be warned about this, maybe like: The current groups of <user> are: <list of current groups> We will change this to: <list of new groups>