getting user in the right groups

Hello all,

Now that I have openSuSE 12.1 running on my laptop, I wanted to get busy with my Arduino (got it a while ago but the summer got busier than expected).

So, I'm looking at the instructions from here:

http://arduino.cc/playground/Linux/OpenSUSE

and here:

http://old-en.opensuse.org/Arduino

The former says to add the user to the groups lock, uucp, and dialout. The latter discusses changing the permissions on /var/lock and /dev/ttyUSB0 to 777, which seems like a bit of a security hole?

At any rate, I did add my user to the aforementioned groups... but I still get a lot of complaints from the arduino program when I launch it from the console:

monte@suse:~> arduino
Error parsing gtk-icon-sizes string: ''
LOCKING /dev/ttyS7
lib_lock_dev_lock() lockstatus fail, are you in group 'lock'?
LOCKING /dev/ttyS6
lib_lock_dev_lock() lockstatus fail, are you in group 'lock'?
LOCKING /dev/ttyS5
lib_lock_dev_lock() lockstatus fail, are you in group 'lock'?
LOCKING /dev/ttyS4
lib_lock_dev_lock() lockstatus fail, are you in group 'lock'?
LOCKING /dev/ttyS3
lib_lock_dev_lock() lockstatus fail, are you in group 'lock'?
LOCKING /dev/ttyS2
lib_lock_dev_lock() lockstatus fail, are you in group 'lock'?
LOCKING /dev/ttyS1
lib_lock_dev_lock() lockstatus fail, are you in group 'lock'?
LOCKING /dev/ttyS0
lib_lock_dev_lock() lockstatus fail, are you in group 'lock'?
LOCKING /dev/ttyS7
lib_lock_dev_lock() lockstatus fail, are you in group 'lock'?
LOCKING /dev/ttyS6
lib_lock_dev_lock() lockstatus fail, are you in group 'lock'?
LOCKING /dev/ttyS5
lib_lock_dev_lock() lockstatus fail, are you in group 'lock'?
LOCKING /dev/ttyS4
lib_lock_dev_lock() lockstatus fail, are you in group 'lock'?
LOCKING /dev/ttyS3
lib_lock_dev_lock() lockstatus fail, are you in group 'lock'?
LOCKING /dev/ttyS2
lib_lock_dev_lock() lockstatus fail, are you in group 'lock'?
LOCKING /dev/ttyS1
lib_lock_dev_lock() lockstatus fail, are you in group 'lock'?
LOCKING /dev/ttyS0
lib_lock_dev_lock() lockstatus fail, are you in group 'lock'?
monte@suse:~>

Now the arduino app does launch, but I'm concerned about those error messages - especially since I am a member of group 'lock', and I did log out and back in - I even restarted the computer. The current (default) permissions on /var/lock look to be 755... do I really need to change them to 777, or even 775, to allow my user to be able to write to /var/lock? Is that necessary for the arduino app to work correctly?

TIA,

Monte

I'm not sure if that is a bug or recent change, but I had to change the group of '/var/lock' from root to lock.

I also asked in the 'Programming/Scripting' forum on opensuse.org... apparently there is an ongoing issue with the permissions on /var/lock for a while now, where /var/lock is assigned to the group 'root', not 'lock'. It was supposedly fixed for 11.3, but it appears things regressed a bit...

I suppose I'll have to change either the permissions or the group ownership for the time being... just a little hazy about what kind of problems I could be causing by changing the group ownership away from 'root'. Have you noticed any problems since doing so?

Thanks,

Monte

No.

Btw.: If you should ever want to use 'minicom' you'd have to do it as well.