Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Unix.setgroups #3047

Closed
vicuna opened this issue Aug 7, 2004 · 2 comments
Closed

Add Unix.setgroups #3047

vicuna opened this issue Aug 7, 2004 · 2 comments
Assignees

Comments

@vicuna
Copy link

vicuna commented Aug 7, 2004

Original bug ID: 3047
Reporter: administrator
Assigned to: @xavierleroy
Status: closed (set by @xavierleroy on 2011-05-29T10:14:19Z)
Resolution: fixed
Priority: normal
Severity: feature
Fixed in version: 3.12.0+dev
Category: ~DO NOT USE (was: OCaml general)
Monitored by: @glondu @avsm smimram jcristau

Bug description

Full_Name: Sylvain Le Gall
Version: 3.08.0
OS: Linux
Submission from: asi-62.asi256ip.easynet.fr (212.180.39.62)

Hello,

Well as we have Unix.getgroups, could we have also Unix.setgroups.
It would be very usefull for certain i am doing ( changing user, which belongs
to a lot of groups ).

Thanks
Regard
Sylvain Le Gall

File attachments

@vicuna
Copy link
Author

vicuna commented Nov 6, 2008

Comment author: @glondu

I also happen to need Unix.{set,init}groups. Attached is a patch to add these functions.

Tested on Linux (Debian i386), but care has been take to make it work wherever possible.

@vicuna
Copy link
Author

vicuna commented Apr 1, 2009

Comment author: @xavierleroy

Thanks for the neatly-prepared patch. Merged in CVS trunk, will go in 3.12.0 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants