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

rosparam dump permission denied [closed]

asked 2014-02-14 09:04:17 -0600

green108 gravatar image

updated 2014-02-14 23:35:47 -0600

gvdhoorn gravatar image

I am up to the Understanding ROS Services and Parameters in the Tutorials Wiki (cannot provide link because "Karma" is insufficient). At the end of the particular lesson, we are shown how to write all of the parameters to the file params.yaml using the terminal command $ rosparam dump params.yaml

However, I am told after executing that permission is denied.

The following is exact output I receive in the terminal

username@location:/opt/ros/hydro$ rosparam dump params.yaml
Traceback (most recent call last):
  File "/opt/ros/hydro/bin/rosparam", line 35, in <module>
    rosparam.yamlmain()
  File "/opt/ros/hydro/lib/python2.7/dist-packages/rosparam/__init__.py", line 610, in yamlmain
    _rosparam_cmd_get_dump(command, argv)
  File "/opt/ros/hydro/lib/python2.7/dist-packages/rosparam/__init__.py", line 435, in _rosparam_cmd_get_dump
    dump_params(arg, script_resolve_name(NAME, ns), verbose=options.verbose)
  File "/opt/ros/hydro/lib/python2.7/dist-packages/rosparam/__init__.py", line 293, in dump_params
    f = open(filename, 'w')
IOError: [Errno 13] Permission denied: 'params.yaml'

Running Ubuntu 12.10, with ROS Hydro.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by gustavo.velascoh
close date 2014-02-14 14:37:40

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-02-14 09:10:39 -0600

green108 gravatar image

Nevermind, You need to remember to go back to the sandbox area in your workspace when calling the command from a new terminal.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-02-14 09:04:17 -0600

Seen: 511 times

Last updated: Feb 14 '14