>>>>> On Fri, 11 Aug 2006 13:17:06 +0900
>>>>> nobu / ruby-lang.org said:
> 
> Okay.  Since it feels a show-stopper, I'd like to commit it
> before 1.8.5 release as soon as possible.

I thinks that a patched ruby on Mac OS X behaves
as same as on Linux.

Mac-mini:~ kazu$ sudo ~/opt/ruby18/bin/ruby -ve 'p [Process.gid, Process.egid]; Process.gid=502; p [Process.gid, Process.egid]'
ruby 1.8.5 (2006-08-09) [powerpc-darwin8.7.0]
[0, 0]
[502, 0]
Mac-mini:~ kazu$ ~/opt/ruby18/bin/ruby -ve 'p [Process.gid, Process.egid]; Process.gid=502; p [Process.gid, Process.egid]'
ruby 1.8.5 (2006-08-09) [powerpc-darwin8.7.0]
[502, 502]
[502, 502]
Mac-mini:~ kazu$ ~/opt/ruby18/bin/ruby -ve 'p [Process.gid, Process.egid]; Process.gid=0; p [Process.gid, Process.egid]'
ruby 1.8.5 (2006-08-09) [powerpc-darwin8.7.0]
[502, 502]
-e:1:in `gid=': Operation not permitted (Errno::EPERM)
        from -e:1
Mac-mini:~ kazu$ 


% sudo =ruby18 -ve 'p [Process.gid, Process.egid]; Process.gid=1000; p [Process.gid, Process.egid]'
ruby 1.8.5 (2006-08-09) [i686-linux]
[0, 0]
[1000, 0]
% ruby18 -ve 'p [Process.gid, Process.egid]; Process.gid=1000; p [Process.gid, Process.egid]' 
ruby 1.8.5 (2006-08-09) [i686-linux]
[1000, 1000]
[1000, 1000]
% ruby18 -ve 'p [Process.gid, Process.egid]; Process.gid=0; p [Process.gid, Process.egid]'  
ruby 1.8.5 (2006-08-09) [i686-linux]
[1000, 1000]
-e:1:in `gid=': Operation not permitted (Errno::EPERM)
        from -e:1
%

-- 
|ZnZ
|Kazuhiro NISHIYAMA