I may be wrong but it could be using whatever user the daemons are running
as but then that doesn't make sense as normally that is root unless you
have changed things.

Unless you haven't logged out/in since adding your user to the dialout
group?

The only other thing I can think of is Debian 8 doing something odd?

On 24 Apr 2017 04:30, "Rob Landry" <[email protected]> wrote:


If I create a macro with a line such as:

        RN /home/scott/relay.sh 5!

... as which user will that command run?

I have just built a new Rivendell machine that uses such a shell command to
fire a relay on a USB relay box that appears as /dev/ttyUSB0.

The comand works flawlessly... if I run it manually from a command line.
Rivendell, however, executes the shell script, but the script won't talk to
the box unless I chmod o+w /dev/ttyUSB0 . I don't want to do that; I'd
rather add the user in question to the dialout group, if I can figure out
what user it is.

Rivendell is running as the user 'scott'. 'scott' is already a member of
the dialout group; therefore, the command must be executing as some other
user, but which one?

This is RD version 2.15.3 running on Debian 8.

The box is a KMTronic Ltd. Model U8CR. I've used them before on Rivendell
systems and have not had this problem. In the past, adding 'scott' to the
dialout group always got the box working. I wonder what's changed.


Rob

-- 
Я там, где ребята толковые,
Я там, где плакаты "Вперёд",
Где песни рабочие новые
Страна трудовая поёт.
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to