Ask Your Question

Cannot add or delete files from opt/ros/hydro/share.

asked 2014-06-24 07:08:11 -0600

Abhishek Jha gravatar image

I am trying to add some files to the location /opt/ros/hydro/share. But I am being denied permission. I have installed ROS as a debian package.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-06-24 07:26:59 -0600

You should not put any files in that location. If you are developing your own nodes, create a ros workspace where you have permission to write (see ). If you for some reason still want to add files to /opt/ros just use sudo cp.

edit flag offensive delete link more



Let me phrase it more strictly: If one tries to add files to /opt and does not understand why it says: Permission denied, one should under no circumstance `sudo cp` files in there as that will very likely lead to ugly problems.

dornhege gravatar image dornhege  ( 2014-06-24 07:29:24 -0600 )edit

Your Answer

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

Add Answer

Question Tools


Asked: 2014-06-24 07:08:11 -0600

Seen: 119 times

Last updated: Jun 24 '14