I just installed the Arduino IDE which is using the rxtx packet. During start, the following error message is thrown several times: check_group_uucp(): error testing lock file creation Error details: Permission denied check_lock_status: No permission to create lock file. please see: How can I use Lock Files with rxtx? in INSTALL This problems stems from the rxtx package trying to create lock files in /var/lock. It can be resolved by changing the access privileges (as root): $ chgrp uucp /var/lock/ $ chmod g+w /var/lock/ Another solution might be to build rxtx without using lockfiles (see http://rxtx.qbang.org/wiki/index.php/Trouble_shooting#How_can_I_use_Lock_Files_with_rxtx.3F), but I haven't tested it.
(In reply to comment #0) > I just installed the Arduino IDE which is using the rxtx packet. During > start, the following error message is thrown several times: > > check_group_uucp(): error testing lock file creation Error details: > Permission denied check_lock_status: No permission to create lock file. > please see: How can I use Lock Files with rxtx? in INSTALL > > This problems stems from the rxtx package trying to create lock files in > /var/lock. It can be resolved by changing the access privileges (as root): > > $ chgrp uucp /var/lock/ > $ chmod g+w /var/lock/ > /var/lock is supposed to belong to uucp, what was the group set to before? I can't help but think that systemd is the culprit here. Are you using systemd by chance?
(In reply to comment #1) > /var/lock is supposed to belong to uucp, what was the group set to before? I > can't help but think that systemd is the culprit here. Are you using systemd > by chance? Ok, now that's something new for me. But no, systemd is not installed on my computer.
Which arduino version did you try?
(In reply to comment #3) > Which arduino version did you try? Currently version 1.0 is installed on my system, but I'm not sure whether there was an update during the last weeks.
I can confirm that on systemd this is set to root. $ stat /var/lock | grep Gid Access: (0777/lrwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ root) When I was working on SunSPOTs I just ran things as root because the uucp suggestion I found didn't work, but I didn't realize at that point it's just because this directory had an incorrect group set. Not sure why this is the way it is on systemd, probably an incorrect unit file? CC-ing systemd@g.o them so they are aware, can look into it and explain it. Florian: Which init system are you running? sera: Do you know where the group permission comes from for OpenRC?
(In reply to Tom Wijsman (TomWij) from comment #5) > Florian: Which init system are you running? I'm running openrc.
Hi, is it still an issue? Thanks for letting us know.
After I applied the chgrp/chmod, everything worked, and I have the whole system running since then. Privileges are as follows: $ ll /var/lock lrwxrwxrwx 1 root root 9 23. Nov 2012 /var/lock -> /run/lock $ ll -d /run/lock/ drwxrwxr-x 4 root uucp 100 5. Okt 21:00 /run/lock/ Arduino is working fine so far.