Tiny Core Base > TCB Bugs
TC 7.2 - /dev/input devices are in group root
bernhard:
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
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).
patrikg:
Have you tried to make a work around like symbol link ?
bernhard:
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 ...
curaga:
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.
Navigation
[0] Message Index
[#] Next page
Go to full version