On Thu, Nov 18, 2010 at 11:27 AM, Dreamcat Four <dreamcat4 / gmail.com> wrote: > Hi, > > I have to run an installer script on the system, via ruby. > > ruby -e "$(curl -fsS https://gist.github.com/raw/542746/install_rvm.rb)" > > This is run from a sudo environment (as root user). Theres really very > little I can do about that aspect. > > > Anyway. The problem occurs when "install_rvm.rb" calls the following > installer: > > system "/usr/local/rvm/src/rvm/scripts/install --prefix /usr/local/rvm/" > > The installer installs its files to --prefix "/usr/local/rvm/". However > all those files it creates / copies are somehow all UID 501? But theres > no UID 501 on the computer? ?? This supposed user doesnt actually exist. > > The bash installer script itself does not cause this. Eg if i run from > the commandline: > > 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? Cheers robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/