Hi Dusty,

That should work as long as user dclark belongs to the group users.
Check with 'id'

Matthieu




On 01/01/14 18:58, Dusty Clark wrote:
Pardon for the noob question, but I have Etherlab 1.5.2 set up on a
Fedora 19 system, and have a strange issue with reserving a master instance.

To start with, I *should* have read/write permission on the
device:[dclark@bukhansan Debug_ecat]$ ls -l /dev/EtherCAT0
crw-rw-r--. 1 root users 249, 0 Jan  1 13:33 /dev/EtherCAT0

But when I wrote the simplest possible application to just request and
then release the master to check I had all the build and link options
set correctly, I got the following error:

[dclark@bukhansan Debug_ecat]$ ./TestServo
Failed to open /dev/EtherCAT0: Permission denied
FATAL: couldn't request a master instance.

Running it as root:
[root@bukhansan Debug_ecat]# ./TestServo
Master instance created ok
Releasing master...done!

Any ideas why this would be? Thanks in advance!

Dusty Clark
MMT Observatory


_______________________________________________
etherlab-users mailing list
[email protected]
http://lists.etherlab.org/mailman/listinfo/etherlab-users



--
Matthieu Bec                GMTO Corp.
cell : +1 626 354 9367      P.O. Box 90933
phone: +1 626 204 0527      Pasadena, CA 91109-0933
_______________________________________________
etherlab-users mailing list
[email protected]
http://lists.etherlab.org/mailman/listinfo/etherlab-users

Reply via email to