[Errno 13] Permission denied -roslaunch
ROS KINETIC PROBLEM DESCRIPTION: Got the following Error when roslaunch my launchfile.
File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/loader.py", line 491, in param_value
p = subprocess.Popen(shlex.split(command), stdout=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 711, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child
raise child_exception
OSError: [Errno 13] Permission denied
Asked by Dragonslayer on 2018-12-02 10:05:50 UTC
Answers
PROBLEMATIC LINE (in launchfile):
<param name="robot_description" command="$(find robot_description)/urdf/robot.urdf" />
SOLUTION: Change "command" to "textfile"
<param name="robot_description" textfile="$(find robot_description)/urdf/robot.urdf" />
Asked by Dragonslayer on 2018-12-02 10:25:56 UTC
Comments
The problem here was that command
expects an actual program/tool/utility to run. $(find robot_description)/urdf/robot.urdf
does not evaluate to a program that can be run, so you get a Permission denied
error (as the .urdf
does not have +x
permissions set).
Asked by gvdhoorn on 2018-12-03 03:43:58 UTC
Got the same problem as using env_set
and configs
for xacro. +x
permission solved it
Asked by Doan Nguyen on 2021-08-31 15:02:57 UTC
Comments