I'm trying to get access to the gpio device on an RPIB+ using a non root, non privileged container. AFAICT, I should map /dev/gpiochip0 using --device, but when I do this, the device appears with broken permissions, group, user (all ?).

The command line I am using is  podman run -it --name rainbow --device=/dev/gpiochip0 localhost/fedora:rainbow /bin/bash
and ls -l /dev/gpiochip0 gives:

-?????????? ? ?      ?           ?            ? gpiochip0

This is on an up to date Fedora IOT using fedora:latest as the base of the image.