Hi Leon

Rivendell's RN command uses the Rivendell default user to run scripts. One way around this is to place script in the /bin directory as you have in method 2. I think there have been discussions about changing this in Rivendell version 3.

Thanks

Stan

On 13/08/2019 2:20 pm, le père Léon wrote:
Trying the RN macro (from a terminal) with 2 methods :

1/ trying to launch a system command (with 1 argument)
$ rmlsend "RN touch /tmp/test_rd_from_command!"
  -> does not create the file

2/ trying to launch a script
$ cat >/my/path/myscript <<EOF
#!/usr/local/bin
touch /tmp/test_rd_from_script
EOF
$ chmod +x /my/path/myscript
$ rmlsend "RN /my/path/myscript!"
  -> does create the file

What's wrong with the first method ?
Is it normal and for security reason (that I could easily understand) ?

_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to