Udev rules not being applied

Hey there,

I have the following rules defined in /etc/udev/rules.d/99-switch.conf

SUBSYSTEM=="usb", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="3000", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0955", ATTRS{idProduct}=="7321", MODE="0666"

This should mount the device as writable for anyone.

Unfortunately when I try to run a python script against the USB device I get the following error:

usb.core.USBError: [Errno 13] Access denied (insufficient permissions)

Everything works fine as sudo.

I am confused here. Is SELinux adding some kind of additional checks? Are the rules in the wrong place?

Thanks for any help

1 Like

Thank you.

This oversight was indeed the problem!

1 Like