From: Dreamcat Four Date: 2010-11-18T21:49:23+09:00 Subject: Re: Calling a bash script creates files as UID 501 ? Robert Klemme wrote in post #962330: > On Thu, Nov 18, 2010 at 11:27 AM, Dreamcat Four > wrote: >> Anyway. The problem occurs when "install_rvm.rb" calls the following >> >> sudo /usr/local/rvm/src/rvm/scripts/install --prefix /usr/local/rvm/ >> >> Then all the files are created all as user "root" (UID=0). What could be >> happening here? > > Hm... What does "ls -l /usr/local/rvm/src/rvm/scripts/install" print? -rwxr-xr-x 1 root root 13716 2010-11-18 12:48 /usr/local/rvm/src/rvm/scripts/install > > Cheers > > robert -- Posted via http://www.ruby-forum.com/.