ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

rosseria_arduino ros_lib permission denied

asked 2013-06-22 10:26:05 -0500

Jaime gravatar image

Hello, I'm new in ROS and I'm trying to setup rosserial arduino following the steps of the tutorial:

    cd <ws>/src
    git clone https://github[dot]com/ros-drivers/rosserial.git
   `cd <ws>`
  catkin_make install
  source <ws>/install/setup.bash

    cd <sketchbook>/libraries
  rm -rf ros_lib
  rosrun rosserial_arduino .

but when I enter the last command I get this error message:

OSError: [Errno 13] Permission denied: '/home/jaime/sketchbook/libraries/ros_lib'

I need to know what to do in this case. Thank you very much!

Apparently is about a permission to make a folder into the ~/sketchbook/libraries folderbecause I can run the same last code outside that folder and it works.


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-06-22 11:55:13 -0500

lindzey gravatar image

This isn't really a ROS issue - as the error message says, it's an issue with the permissions in that directory. See if reading this tutorial on Linux file permissions helps, and then check out "man chmod".

edit flag offensive delete link more


This actually solve the problem! I just insert a command to give me the permissions to write, read and execute the ~/sketchbook/libraries folder, it went like this: sudo chmod 777 ~/sketchbook/libraries. Thanks!

Jaime gravatar image Jaime  ( 2013-06-22 12:41:49 -0500 )edit

Question Tools


Asked: 2013-06-22 10:26:05 -0500

Seen: 1,324 times

Last updated: Jun 22 '13