[Arm-dev] gpio device ownership

Mon Jun 29 19:49:56 UTC 2020
R C <cjvijf at gmail.com>

Hello,

ownership/permissions on gpio device are like tis:

crw-------.  1 root root    254,   0 Jan  1  1970 gpiochip0
crw-------.  1 root root    254,   1 Jan  1  1970 gpiochip1
crw-------.  1 root root    254,   2 Jan  1  1970 gpiochip2
crw-------.  1 root root    246,   0 Jan  1  1970 gpiomem


while other device like ttys, are owned by root and "group owned" by 
tty, similar for video, disk, dialout etc.

wouldn't it be 'better' to  have these gpio devices  owned by root, 
"group owned" by a group other then root (gpio)?

(or did 'we' inherit that from further up/down the development chain?)


Ron