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

Environment directory change

asked 2014-05-03 09:46:17 -0500

Abdul gravatar image

I am reading the tutorials for creating a ROS environment so i can have an external one where i can edit my projects because i keep getting errors such as : fatal: could not create work tree dir 'ardrone_tutorials'.: Permission denied after command kadir@kadir:/opt/ros/hydro$ git clone

I have been trying to work-it out but i failed to do so. Must i create a file for my document or is there a better way of doing it? And if i need a new file how can i source it so ROS can run it?

I don’t understand the instructions of

P.S. Beginner.

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2014-05-05 08:15:21 -0500

Abdul gravatar image

I have solved the problem by not downloading the file to the /opt/ros/... . I have placed it into the home folder by just typing git clone . immediately after i opened my terminal. It complies perfectly and no permission errors.

edit flag offensive delete link more

answered 2014-05-05 01:11:27 -0500

You should check out the repositories somewhere into your home dir, not into /opt/ros/.... Only the root user can write to /opt/, and you should never do that. This is why you get the permission denied error.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2014-05-03 09:46:17 -0500

Seen: 264 times

Last updated: May 05 '14