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

rosed for read-only files

asked 2012-07-02 21:03:11 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I'm a newbie- and I was trying to use the "rosed" command to edit one of the .cpp source files that came in the package image_view.

However when I follow the instructions here:

after I make the change I cant save it-- it says: "/opt/ros/electric/stacks/image_pipeline/image_view/src/nodes/extract_images.cpp" E212: Can't open file for writing

How do I change the permissions? Obviously "sudo" won't help.

Any help is highly appreciated.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-07-02 21:40:37 -0500

Lorenz gravatar image

You should not edit files in /opt/ros since they by system packages. Instead, create an overlay. Have a look at the rosws tutorial and this answer.

edit flag offensive delete link more

Question Tools


Asked: 2012-07-02 21:03:11 -0500

Seen: 1,420 times

Last updated: Jul 02 '12