I have a 3D printer, with which my PC can communicate through /dev/ttyACM0
:
crw-rw---- 1 root uucp 166, 0 16 nov 14:58 ttyACM0
The 3D printing application repetierHost
requires read/write access to this device in order to function. If I 'naively' start the application without any preparation, the application doesn't work.
If I run the application as root, it works.
If I run the application as a normal user with (supplementary) group uucp
, it still doesn't work.
If I give /dev/ttyACM0
the permission flags rw-rw-rw-
, and run it with my normal user, it works.
(Why) does my permission through the uucp
group not pass on to the application?
I would not be opposed to just giving the file rw-rw-rw-
permissions, but these are reset when the device is disconnected and reconnected. If I can't make this work through theuucp
group, how can I instead make the change to the permission flags persistent?
uucp
the primary group of your normal user? – Marki Nov 16 '14 at 14:34uucp
group. – Gilles 'SO- stop being evil' Nov 16 '14 at 23:35uucp
group, so why isn't that enough? In any case, I already found a different solution, posted below. – mhelvens Nov 17 '14 at 12:36uucp
group, but not log out and back in? Groups are applied at login time. – Gilles 'SO- stop being evil' Nov 17 '14 at 12:38uucp
listed forgroups myUserName
. --- Anyway, thanks! If you post this as an official answer, I'll accept it. – mhelvens Nov 17 '14 at 12:44