Charles Oliver Nutter wrote:
Eric Armstrong wrote:
Found this bug over the weekend.
I'll go file a ticket, but wanted to alert
you in case I get sidetracked on my way.
...
NoMethodError: undefined or inaccessible method `euid' for
Process:Module
If you have a suggestion for how to implement euid, we're all ears :)
Terminology (for myself and others laboring under a similar
weight of ignorance):
euid = effective user id
uid = user id
This Ruby bug says that some systems return uid for euid
http://rubyforge.org/tracker/index.php?func=detail&aid=2832&group_id=426&atid=1698
In MailFactory, I assume that the user ID is just being
used to make sure that my stuff stays separate from other
stuff. But in a single VM, there are no others to worry
about. So whatever unique number generator is being used
for temp files could probably be brought into play to
create a number.
I guess I'd put the generator in the inititialize()
method of the Process class. Then every process object
would return a unique value.
There's probably something wrong with that, but I'm not
familiar enough with the usage scenarios to know how
many things will break with that implementation. (I just
know that none of them will work without some kind of
implementation.)
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email