On Thu, Aug 31, 2017 at 6:56 AM, Peter Lawler <[email protected]> wrote: > > > On Thursday, 31 August 2017 12:58:16 UTC+10, Drew Fustini wrote: >> >> This person noticed that Adafruit_BBIO doesn't work when not root: >> https://forums.adafruit.com/viewtopic.php?f=49&t=105847#p606973 >> >> Issue seems to be: >> open("/sys/devices/platform/bone_capemgr/slots", O_RDWR|O_LARGEFILE) = -1 >> EACCES (Permission denied) >> >> Do we want to let normal users write to >> /sys/devices/platform/bone_capemgr/slots ? >> . chmod 664 /sys/devices/platform/bone_capemgr/slots > > > > $groupadd --system slots > $usermod --append --groups slots debian > then > $chmod 664 /sys/devices/platform/bone_capemgr/slots > $chgrp slots /sys/devices/platform/bone_capemgr/slots > (though to be honest I have no idea if this would be permanent etc. and > probably not, it would be 'nice') > >
we could just add a udev rule too. ;) Regards, -- Robert Nelson https://rcn-ee.com/ -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYh1a7gv7SLa3RuNuhBeeQNWcY%2BTaDEX3wvpfQU9CqUrbA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
