Ask Your Question
0

Environment directory change

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

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 https://github.com/mikehamer/ardrone_...

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 http://wiki.ros.org/ROS/Tutorials/Ins...

P.S. Beginner.

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
0

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

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 https://github.com/mikehamer/ardrone_.. . immediately after i opened my terminal. It complies perfectly and no permission errors.

edit flag offensive delete link more
0

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 113 times

Last updated: May 05 '14