Jump to content

Recommended Posts

Posted

Hi Members,
I'm setting and reading the GPIO PINs for different BPI's frequently only by bash by maintaining the /sys/class/gpio/xxx values.
The only problem is that all these files belong to root :root and I have to use the sudo command in my scripts.
I've read about putting a non root user to the gpio group will fix that.
But on Armbian there is no "gpio" group ;(
That seems the reason why the directory /sys/class/gpio is not prepared as root:gpio

Please has someone an idea when this will be implemented?

Regards
wollik


 

Posted (edited)

@cOrnelius
YES I know how to maintain the current system manualy, but with the next release I' l have to do it again.

@Igor,
your PR modification looks like the right solution adding the missing group T H A N K S!
P L E A S E  can you also point me where I will find the right spot where I can define the right owner for the some specified directories like the: /sys/class/gpio ? Is there a list for mapping the right owner to a  directory? that can be modified?

Regards

Wolfgang
 

Edited by wollik

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines