/dev/mem with python executed though web - Raspberry Pi Forums
hello,
have simple python script controls gpio. when want execute script in terminal must type sudo ./mypython.py . when type ./mypython.py runtime error saying : no access /dev/mem. try running root!. want execute script web ( using webiopi server ). can't because script need executed root user ( if right ).
there ( easy
) way set myscript.py doesn't need executed root user ?
!
have simple python script controls gpio. when want execute script in terminal must type sudo ./mypython.py . when type ./mypython.py runtime error saying : no access /dev/mem. try running root!. want execute script web ( using webiopi server ). can't because script need executed root user ( if right ).
there ( easy

!
raspberrypi
Comments
Post a Comment