Bug#296722: mldonkey-server: cannot add groups to mldonkey user
On Thu, Feb 24, 2005 at 22:20:06 +0100, Sylvain LE GALL wrote:
> - mldonkey start as root
> - mldonkey daemonize
> - mldonkey changes to user mldonkey:mldonkey
> - here comes the problem : mldonkey cannot use all the group of mldonkey
> user, only the primary one ( ie mldonkey in standrad install )
>
> The problem comes from ocaml. There is not binding for the function
> setgroups. So i cannot set all the group of a user.
>
Hi,
can't the necessary binding for setgroups() be added to mldonkey or some
library other than the standard Unix lib? I think this would be easy and
provide a workaround for this issue, which wouldn't need an addition to
the standard library (although I agree that setgroups() has its place in
the stdlib, since getgroups() is already there).
Cheers,
Julien Cristau
Reply to: