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')


-- 
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/6871541d-a420-4cf2-9a62-fa40379df41e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to