This discussion is archived
0 Replies Latest reply: Jul 27, 2010 8:43 AM by 843807 RSS

Permission denied on Serial port open

843807 Newbie
Currently Being Moderated
Hi all!

I'm trying to open a serial port in a Linux machine and I get a RuntimeException in the open() method of CommPortIdentifier:
Error opening "/dev/ttyS0"
Permission denied
How can i run the program as root or with root permissions?
I'm running it from Eclipse.