On Aug 2, 2012, at 10:10 56, Wayne Merricks wrote:

> #!/bin/bash
> touch ~/hello_from_rivendell_RN
> 
> Then run the script from a macro and see if you get the file?  I'm 
> trying to figure out if you have the same problem I do.

There are a couple of problems here.  First of all, using shell constructs like 
'~' won't give the expected results as the environment in which the script 
executes will be completely different from that of the local user.  Use the 
full path instead, like 'touch /home/rd/hello_from_rivendell_RN'.  Secondly, by 
default the 'rivendell' user/group won't have write access to your home 
directory.  Try something like this:

*** snip snip ***
cd
mkdir test
chmod 777 test
*** snip snip ***

Then, fire up RMLSend and do:

        RN touch /home/rd/test/hello_from_rivendell_RN!

You should now see the expected file in the 'test/' directory.

Cheers!


|-------------------------------------------------------------------------|
| Frederick F. Gleason, Jr. |               Chief Developer               |
|                           |               Paravel Systems               |
|-------------------------------------------------------------------------|
|          "No, `Eureka!' is Greek for `This bath is too hot!'"           |
|                                              -- Dr. Who                 |
|-------------------------------------------------------------------------|

_______________________________________________
Rivendell-dev mailing list
[email protected]
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

Reply via email to