From: James Gray Date: 2009-01-29T00:45:44+09:00 Subject: [ruby-core:21639] Re: UID Too Big, A Bug? On Jan 27, 2009, at 4:45 PM, James Gray wrote: > Is this a bug in Ruby? > > $ sudo ruby -r etc -e 'nobody = Etc.getpwnam("nobody"); p nobody; > Process.uid = nobody.uid' > # gid=4294967294, gecos="Unprivileged User", dir="/var/empty", shell="/ > usr/bin/false", change=0, uclass="", expire=0> > -e:1:in `uid=': bignum too big to convert into `long' (RangeError) > from -e:1 It looks like this was reported as a bug years ago: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/8897 I wonder why it has gone unfixed for so long. I'll add it to the new tracker and see if it can get any attention there� James Edward Gray II