Jumping through permission hoops

When working with Ubuntu and Eclipse  using the shell as in

sudo sh -c 'dtc -I dtb -O dts am335x-boneblack.dtb > am335x-boneblack.dts_orig'

will work. However, this operation doesn't appear to be possible within the /boot/dtbs directory. It appears to be only possible when the files are copied into a user directory. I can appreciate that the OS is trying to protect me from disaster. Does anyone know how to bypass all of Ubuntu's permissions and execute any command, anywhere within the BBB file system, from the Eclipse ssh shell?

Comments

  • How about as super user (root access)?  "sudo su" from ubuntu user account?  Exit super user (root access) mode using "exit"?
  • Thank you so much! That worked great. It seems I had tried every su command I could think of except that one.
  • Sure thing.  Glad it helped.  Just be careful with the "rm" and other such commands now that you are super!  Can cause some damage :).  
Sign In or Register to comment.