Jump to content

root permission


xwalter

Recommended Posts

hello everyone !

How to get totally permission in /root  folder of my orangepiplus2 under armbian? 

 

I have already set sudo su ----pass ok 

I'm installing WiringOP and I have to go inside /root 

Using psw I know the path that is  /root/WiringOP 

Then I type 

chmod +x /.build

and then 

/.build

but I don't have permission .

Opening the file system I see the  "X" over the root folder 

Could I have the totally control of armbian ?

Thanks !

Link to comment
Share on other sites

@xwalter

Please can you give us more details?

 

your are trying to compile a program "WiringOP" from source tar.gz ?

 

or from source like

git clone https://github.com/zhaolei/WiringOP.git -b h3 

the help is here:
https://github.com/zhaolei/WiringOP/blob/h3/README.md

or is it https://www.npmjs.com/package/wiring-opwith npm command for nodejs, you need

sudo apt-get install npm

if you want to be root all the time

sudo -s

you don't need to put the source in /root your $HOME is just fine

Link to comment
Share on other sites

I moved WiringOP from root to home/myfolder , give permission and install by using 

sh build.sh

it seems work , the command 

gpio readall

shows me the table with calues of pins 

I'm trying also to install python-dev to manage the gpio in python but the original pack tells me to mode in  orange_PC_gpio_pyH3 but it doesn't exists . I try also to change in gpio_orangepiplus2 blablabla but nothing

Do you have some link for python gpio ?

thanks

Walter

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines