If you want to access a user space GPIO chip in Linux with out root (or sudo) privileges then the device needs to not be created with root access controls. One way to reduce the access level required for a device is to write a custom udev rule. Here we are going to try and take a GPIO device at /dev/gpiochip0 and mount it with the group gpio. Creating the Group Assuming the gpio group does not already exist on your system it is simple to do so.