I'm tryiong to set the direction of a pin to output by streaming to it's character device.
When logging in as the user 'debian' (the account that is creeted by default in the latest debian image for BBB),
and executing the command sudo echo out > /sys/class/gpio/gpio49/direction,
I get Permision denied.
When switching to Root, it works.
debian@beaglebone:~$ sudo echo out > /sys/class/gpio/gpio49/direction -bash: /sys/class/gpio/gpio49/direction: Permission denied debian@beaglebone:~$ su root Password: root@beaglebone:/home/debian# echo out > /sys/class/gpio/gpio49/direction
What am I doing wrong?