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

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

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

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 -0500

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 -0500 )edit

Question Tools


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

Seen: 260 times

Last updated: Jun 24 '14