MantisBT - OCaml
View Issue Details
0003047OCaml~DO NOT USE (was: OCaml general)public2004-08-07 18:182011-05-29 12:14
administrator 
xleroy 
normalfeaturealways
closedfixed 
 
3.12.0+dev 
0003047: Add Unix.setgroups
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

No tags attached.
diff unix.diff (11,056) 2008-11-06 13:11
https://caml.inria.fr/mantis/file_download.php?file_id=220&type=bug
Issue History
2005-11-18 10:13administratorNew Issue
2008-11-06 13:11glonduFile Added: unix.diff
2008-11-06 13:12glonduNote Added: 0004705
2009-04-01 18:51xleroyNote Added: 0004900
2009-04-01 18:51xleroyAssigned To => xleroy
2009-04-01 18:51xleroyStatusacknowledged => resolved
2009-04-01 18:51xleroyResolutionopen => fixed
2009-04-01 18:51xleroyFixed in Version => 3.12.0+dev
2009-04-01 18:51xleroyDescription Updated
2011-05-29 12:14xleroyStatusresolved => closed
2017-02-23 16:36doligezCategoryOCaml general => -OCaml general
2017-03-03 17:55doligezCategory-OCaml general => -(deprecated) general
2017-03-03 18:01doligezCategory-(deprecated) general => ~deprecated (was: OCaml general)
2017-03-06 17:04doligezCategory~deprecated (was: OCaml general) => ~DO NOT USE (was: OCaml general)

Notes
(0004705)
glondu   
2008-11-06 13:12   
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.
(0004900)
xleroy   
2009-04-01 18:51   
Thanks for the neatly-prepared patch. Merged in CVS trunk, will go in 3.12.0 release.