RV permissions -- can't park in my lot!

Brendan Taylor whateley at gmail.com
Fri May 18 22:57:23 EDT 2007


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/camping-list/attachments/20070518/76643564/attachment.bin 


More information about the Camping-list mailing list