On Fri, May 18, 2007 at 11:09:31PM -0400, Joshua Schairbaum wrote: > nohup su -c "/usr/bin/ruby rv_harness.rb 3301 127.0.0.1 < /dev/null 2>&1 > > /dev/null" www-data < /dev/null 2>&1 >> /var/log/rv.log & > > Obviously, permissions are a weakpoint for me, so I'd appreciate any help
`su -c` executes the bit you have inside the quotations as a different user; everything else (including the redirection you're using to rv.log) gets executed as your regular user. So, /var/log/rv.log needs to be writeable by whatever user is running that command.
pgpsPEwEWw4kW.pgp
Description: PGP signature
_______________________________________________ Camping-list mailing list [email protected] http://rubyforge.org/mailman/listinfo/camping-list

