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

Revision history [back]

click to hide/show revision 1
initial version
/home/ros/catkin_ws/build/rbx1/rbx1_nav/setup_custom_pythonpath.sh: 4: exec: /home/ros/catkin_ws/src/rbx1/rbx1_nav/cfg/CalibrateAngular.cfg: Permission denied
...
/home/ros/catkin_ws/build/urg_node/setup_custom_pythonpath.sh: 4: exec: /home/ros/catkin_ws/src/urg_node/cfg/URG.cfg: Permission denied

have you extracted these files from a zip file, or copied them from a usb stick or Windows share?

Those .cfg files should have their executable bit set, and they currently probably don't have it, that's why you get the Permission denied errors.

Try and see what the output is of:

ls -al /home/ros/catkin_ws/build/rbx1/rbx1_nav/setup_custom_pythonpath.sh: 4: exec: /home/ros/catkin_ws/src/rbx1/rbx1_nav/cfg/CalibrateAngular.cfg
ls -al /home/ros/catkin_ws/build/urg_node/setup_custom_pythonpath.sh: 4: exec: /home/ros/catkin_ws/src/urg_node/cfg/URG.cfg

If it doesn't include the x bit for both you and other users, then do a:

chmod +x /home/ros/catkin_ws/build/rbx1/rbx1_nav/setup_custom_pythonpath.sh: 4: exec: /home/ros/catkin_ws/src/rbx1/rbx1_nav/cfg/CalibrateAngular.cfg
chmod +x /home/ros/catkin_ws/build/urg_node/setup_custom_pythonpath.sh: 4: exec: /home/ros/catkin_ws/src/urg_node/cfg/URG.cfg

and try again.


PS:

[..] I was given a custom catkin_ws file.

Pedantic perhaps, but note that 'catkin_ws' is typically a directory, not a single file.

/home/ros/catkin_ws/build/rbx1/rbx1_nav/setup_custom_pythonpath.sh: 4: exec: /home/ros/catkin_ws/src/rbx1/rbx1_nav/cfg/CalibrateAngular.cfg: Permission denied
...
/home/ros/catkin_ws/build/urg_node/setup_custom_pythonpath.sh: 4: exec: /home/ros/catkin_ws/src/urg_node/cfg/URG.cfg: Permission denied

have you extracted these files from a zip file, or copied them from a usb stick or Windows share?

Those .cfg files should have their executable bit set, and they currently probably don't have it, that's why you get the Permission denied errors.

Try and see what the output is of:

ls -al /home/ros/catkin_ws/build/rbx1/rbx1_nav/setup_custom_pythonpath.sh: 4: exec: /home/ros/catkin_ws/src/rbx1/rbx1_nav/cfg/CalibrateAngular.cfg

and:

ls -al /home/ros/catkin_ws/build/urg_node/setup_custom_pythonpath.sh: 4: exec: /home/ros/catkin_ws/src/urg_node/cfg/URG.cfg

If it doesn't include the x bit for both you and other users, then do a:

chmod +x /home/ros/catkin_ws/build/rbx1/rbx1_nav/setup_custom_pythonpath.sh: 4: exec: /home/ros/catkin_ws/src/rbx1/rbx1_nav/cfg/CalibrateAngular.cfg

and:

chmod +x /home/ros/catkin_ws/build/urg_node/setup_custom_pythonpath.sh: 4: exec: /home/ros/catkin_ws/src/urg_node/cfg/URG.cfg

and try again.


PS:

[..] I was given a custom catkin_ws file.

Pedantic perhaps, but note that 'catkin_ws' is typically a directory, not a single file.

/home/ros/catkin_ws/build/rbx1/rbx1_nav/setup_custom_pythonpath.sh: 4: exec: /home/ros/catkin_ws/src/rbx1/rbx1_nav/cfg/CalibrateAngular.cfg: Permission denied
...
/home/ros/catkin_ws/build/urg_node/setup_custom_pythonpath.sh: 4: exec: /home/ros/catkin_ws/src/urg_node/cfg/URG.cfg: Permission denied

have you extracted these files from a zip file, or copied them from a usb stick or Windows share?

Those .cfg files (they are files for dynamic_reconfigure) should have their executable bit set, and they currently probably don't have it, that's why you get the Permission denied errors.

Try and see what the output is of:

ls -al /home/ros/catkin_ws/build/rbx1/rbx1_nav/setup_custom_pythonpath.sh: 4: exec: /home/ros/catkin_ws/src/rbx1/rbx1_nav/cfg/CalibrateAngular.cfg

and:

ls -al /home/ros/catkin_ws/build/urg_node/setup_custom_pythonpath.sh: 4: exec: /home/ros/catkin_ws/src/urg_node/cfg/URG.cfg

If it doesn't include the x bit for both you and other users, then do a:

chmod +x /home/ros/catkin_ws/build/rbx1/rbx1_nav/setup_custom_pythonpath.sh: 4: exec: /home/ros/catkin_ws/src/rbx1/rbx1_nav/cfg/CalibrateAngular.cfg

and:

chmod +x /home/ros/catkin_ws/build/urg_node/setup_custom_pythonpath.sh: 4: exec: /home/ros/catkin_ws/src/urg_node/cfg/URG.cfg

and try again.


PS:

[..] I was given a custom catkin_ws file.

Pedantic perhaps, but note that 'catkin_ws' is typically a directory, not a single file.

/home/ros/catkin_ws/build/rbx1/rbx1_nav/setup_custom_pythonpath.sh: 4: exec: /home/ros/catkin_ws/src/rbx1/rbx1_nav/cfg/CalibrateAngular.cfg: Permission denied
...
/home/ros/catkin_ws/build/urg_node/setup_custom_pythonpath.sh: 4: exec: /home/ros/catkin_ws/src/urg_node/cfg/URG.cfg: Permission denied

have you extracted these files from a zip file, or copied them from a usb stick or Windows share?

Those .cfg files (they are files for dynamic_reconfigure) should have their executable bit set, and they currently probably don't have it, that's why you get the Permission denied errors.

Try and see what the output is of:

ls -al /home/ros/catkin_ws/build/rbx1/rbx1_nav/setup_custom_pythonpath.sh: 4: exec: /home/ros/catkin_ws/src/rbx1/rbx1_nav/cfg/CalibrateAngular.cfg

and:

ls -al /home/ros/catkin_ws/build/urg_node/setup_custom_pythonpath.sh: 4: exec: /home/ros/catkin_ws/src/urg_node/cfg/URG.cfg

If it doesn't include the x bit for both you and other users, then do a:

chmod +x /home/ros/catkin_ws/build/rbx1/rbx1_nav/setup_custom_pythonpath.sh: 4: exec: /home/ros/catkin_ws/src/rbx1/rbx1_nav/cfg/CalibrateAngular.cfg

and:

chmod +x /home/ros/catkin_ws/build/urg_node/setup_custom_pythonpath.sh: 4: exec: /home/ros/catkin_ws/src/urg_node/cfg/URG.cfg

and try again.


PS:

[..] I was given a custom catkin_ws file.

Pedantic perhaps, but note that 'catkin_ws' is typically a directory, not a single file.