This is perhaps a more long-winded reply than you might want but in the general case I'm wondering why the BBB is shipped with the device nodes in /dev for LEDs, and any other i/o stuff, set to be owned and writable only by root. It seems to me that it would be nicer if there was a unix group that had write permission to the device nodes and a udev rule that set up the devices to have write permission by that group. Different devices could have different groups if you want to keep things narrowed down.
http://www.linux.com/news/hardware/peripherals/180950-udev Then just add your account and any others to that group that need write access. (And read access as well for the devices that are readable.) On Tuesday, February 11, 2014 8:22:14 AM UTC-8, Alastair Gilmore wrote: > > Hi, > I've got Ubuntu installed on the BBB and have compiled a C++ Hellow > World on Eclipse and a Ubuntu PC. I can SSH the program to my account on > the BBB, and it runs ok. I then SSH a program to flash the LED (from Derek > Molloy's tutorial) and although the terminal messages appear the LED > doesn't flash. I understand that my BBB account doesn't have 'write' > privileges for the LED, only Root has, but don't know how to make the > program work or change these privileges. I've tried SUDO but that doesn't > work either. Can anyone help me please. > Thanks > Alastair > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
