From: noreply@... Date: 2005-11-17T06:05:25+09:00 Subject: [ ruby-Bugs-2832 ] %x ignores Process.euid with shell metacharacters Bugs item #2832, was opened at 2005-11-16 14:56 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1698&aid=2832&group_id=426 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Luke Kanies (lkanies) Assigned to: Nobody (None) Summary: %x ignores Process.euid with shell metacharacters Initial Comment: The following snippet of code does not work correctly on all platforms: Process.euid = 1 %x(touch /tmp/funtest 2>&1) Ruby appears to use the UID instead of the EUID when shell metacharacters are present. However, the behaviour is not consistent. Out of four installations of Ruby, everything I have that's below 1.8.3 fails, and one of my two 1.8.3 installs also fails. ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1698&aid=2832&group_id=426