I just recently got my BBB, and although the board is new to me I do have some experience with linux.
The first thing I did when I received the board was to flash it with the official Debian image. The next thing I did was create a new user with sudo access and logged in under that account (just a best-practices thing I always do).
It seems that I am unable to access the GPIO pins while using a non-root account. Even prepending the command with sudo doesn’t work. However if I log in as root then everything does work as expected.
Is there a way to run these scripts from my user account or will I have to log in as root each time?
Thanks in advance,