> On Aug 31, 2017, at 8:21 AM, Peter Lawler <[email protected]> wrote: > > > > On 31 Aug 2017 22:18, "Robert Nelson" <[email protected]> wrote: > 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. ;) > > You kids these days.... :-P
It would be a pretty big security hole, but we have plenty of those. It would at least take a targeted attack. I'm in favor. > > > > -- > 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/CAG73kvVUhVSzanZtLT1S8Seb%3D8FJj7QF-8hHDpSBNZybf7hrVQ%40mail.gmail.com. > For more options, visit https://groups.google.com/d/optout. -- 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/5C8F68E8-7C5F-474A-B41A-8F7FFD8FD458%40gmail.com. For more options, visit https://groups.google.com/d/optout.
