Tiny Core Linux
Tiny Core Base => TCB Bugs => Topic started by: bernhard on October 26, 2016, 10:58:58 AM
-
is this a deliberate feature or more a bug that /dev/Input/Event[0-4], /dev/input/mouse0 and /dev/input/mice are in in group root so only the super user can read from them or shouldn't they be in group staff.
Background: I have a framebuffer application, which needs to read from /dev/input/event4
and I can start it either as root or after I've done a chown :staff /dev/input/event4
regards
--
Bernhard
-
it should have been /dev/input/event[0-4] instead of /dev/Input/Event[0-4] (I have no idea how to switch off auto-capitalization).
-
Have you tried to make a work around like symbol link ?
-
no, but since /dev/fb0 has also root/staff as owner/group membership, I think the same would be preferable for the devices in /dev/input ...
-
I believe those are common Linux defaults, preventing users from reading each other's input. So a chown in bootsync.sh should be fine for your application.
-
thanks
-
just a remark:
Raspbian puts these devices in a group named input and the default user pi ia member of that group. This looks to me very reasonable.