You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ ./prog
2024-10-09 20:17:12 initCheckPermitted:
+---------------------------------------------------------+
|Sorry, you don't have permission to run this program. |
|Try running as root, e.g. precede the command with sudo. |
+---------------------------------------------------------+
Failed to initialise GPIO.
$
As far as I can tell only root can execute the programme unless you
$ sudo chown root prog
$ sudo chmod u+s prog
The text was updated successfully, but these errors were encountered:
If you try then you get this:
As far as I can tell only
root
can execute the programme unless youThe text was updated successfully, but these errors were encountered: