udev rule group ownership not working
- by Tirithen
I have added a udev rule for my Arduino, but the symlink gets the ownership "root root" instead of "root dialout".
$ cat /etc/udev/rules.d/47-Arduino.rules
SUBSYSTEM=="usb", ATTR{idVendor}=="2341", ATTR{idProduct}=="0001", MODE="0666", SYMLINK+="arduino", GROUP="dialout"
$ ls -la /dev/ar*
lrwxrwxrwx 1 root root 15 sep 8 11:02 /dev/arduino -> bus/usb/003/007
$ ls -la /dev/bus/usb/003/007
crw-rw-r-- 1 root dialout 189, 262 sep 8 11:12 /dev/bus/usb/003/007
My user is a member of the group "dialout" but I still get permission denied error when I'm trying to communicate with the device.
There are no problems when I'm using the "default" device "/etc/ttyACM3".
$ ls -la /dev/ttyACM3
crw-rw---- 1 root dialout 166, 3 sep 8 11:12 /dev/ttyACM3
I have tried to restart both the udev service and reboot my computer. How can I fix this?