It should be the default; not in the kernel but in the Foundation's future images. The Foundation's images already have a default user with full sudo access, so there can only be an improvement when GPIO are accessed without escalating to superuser. Additional users will only be in the group if the sysadmin intends that.plugwash wrote:My worry is there were people here advocating non-root access to /dev/gpiomem as a default. If people want to set that on their own systems after doing a risk assement and checking what is in the group then that is fine but it should not be the default.
The kernel, of course, should default to protecting the device. The few people who install Raspbian themselves can make their own decisions.