From: Yukihiro Matsumoto Date: 2006-09-21T10:30:03+09:00 Subject: Re: [ ruby-Bugs-5822 ] Ruby's 'etc' module cannot handle the UID of OS X 'nobody' properly Hi, In message "Re: [ ruby-Bugs-5822 ] Ruby's 'etc' module cannot handle the UID of OS X 'nobody' properly" on Thu, 21 Sep 2006 03:13:06 +0900, writes: |Initial Comment: |Try this (on a mac, to get the full reflection of the problem): |-- |#!/usr/bin/env ruby | |require 'etc' | |p Etc.getpwnam('nobody') |p Etc.getpwuid(4294967294) |-- | |Apparently OS X assigns -1 to nobody in some places, and ruby is hitting one of those places. However, the underlying problem seems to be that Etc can output a value in some of it's calls that it can't accept as a parameter. Would anybody report what happens when we run the above script on OSX? I'm not sure the exact situation. matz.