[poky] Give others users than "root" access to GPIO (or commands)

Richard Purdie richard.purdie at linuxfoundation.org
Wed May 30 03:18:32 PDT 2018


On Wed, 2018-05-30 at 12:01 +0200, Arno Steffens wrote:
> Thanks Chen,
> sounds easy but I get to my surprise a problem with a shared library
> (cannot open shared object file: No such file or directory) -
> althought the LD_LIBRARY_PATH is set (/opt/lib) and the file
> available?

setuid will clear LD_LIBRARY_PATH and other environmental variables for
security reasons. Try adding an RPATH to the binary directly using
chrpath or patchelf?

Cheers,

Richard


More information about the poky mailing list