Brendan, Thanks for the help, but I still can't get it cranked up... Some relevant bits: ls -a /var/log #=> -rw-rw-r-- 1 root jschairb 8352 2007-05-18 23:33 rv.log
Obviously, I'm jschairb... but I'm calling the script like this: sudo /etc/init.d/rv start I've tried having root be the group as well. Thanks, Josh On 5/18/07, Brendan Taylor <[EMAIL PROTECTED]> wrote:
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. _______________________________________________ Camping-list mailing list [email protected] http://rubyforge.org/mailman/listinfo/camping-list
_______________________________________________ Camping-list mailing list [email protected] http://rubyforge.org/mailman/listinfo/camping-list

