Skip to main content
4 events
when toggle format what by license comment
Jan 7 at 22:57 vote accept olishmollie
Jan 7 at 22:55 comment added olishmollie Thanks Hauke. The question you linked was asking how to change ownership from within the driver, which I know how to do, but want to avoid. But rules with RUN worked: SUBSYSTEM=="my_class", GROUP="my_group", RUN="/usr/bin/chown -R root:my_group /sys$devpath".
Jan 7 at 20:00 comment added grawity That would tie driver code to knowledge of specific group IDs, which is not the norm in Linux (the tty group is the only exception I've seen), and indeed avoiding that sort of thing is the whole purpose of udev rules...
Jan 7 at 19:51 history answered Hauke Laging CC BY-SA 4.0