EXEC NODE permissions??

113 views
Skip to first unread message

Peter Scargill

unread,
Mar 28, 2016, 2:46:42 PM3/28/16
to Node-RED
I'm looking for ideas guys.

I have a program called MPG123 - and that plays MP3 files.  If I go to a command prompt as Pi - and run mpg123 /home/pi/pete.mp3 it works.
On my raspberry Pi - if I use the NODE-RED exec node to do the same thing - it works. ALL IS WELL.

I've a new machine - a NANOPC2...  I made a user Pi - it has the same permissions as the Raspberrry Pi  -I ran the same installation script for everything - node-red etc etc.... and the mp3 program - exactly as I would on a P1

At the command line as user Pi, the mpg123 /home/pi/pete.mp3 works a treat - just like the PI

But in node-red - I cannot get a thing out of the EXEC node - it looks the same, the code is the same - but nothing comes out - no error messages in DEBUG.

Utterly lost... any ideas?

Pete.

Mark Setrem

unread,
Mar 28, 2016, 2:48:28 PM3/28/16
to Node-RED
Try searching the forum over the past couple of days. Theres already a post on the same issue...

Peter Scargill

unread,
Mar 28, 2016, 2:59:37 PM3/28/16
to Node-RED
Forget it guys - I rebooted AFTER giving PI all the permissions - works a treat.
Reply all
Reply to author
Forward
0 new messages