Permission Denied
I am on Ubuntu 10.04 and I have ROS Electric installed. I am following these instructions and I am on Step 3 (Generating the URDF): http://wiki.ros.org/nxt_lxf2urdf/Tuto...
When I input the command rosrun nxt_lxf2urdf lxf2urdf.py robot.lxf robot.ldr >robot.urdf
I get:
[rospack] WARNING: cannot create rospack cache directory: Permission denied
[rospack] WARNING: cannot create rospack cache directory: Permission denied
[rospack] Unable to create temporary cache file /root/.ros/.rospack_cache.cSxwgs: Permission denied
What to do? I am fairly new to Ubuntu and ROS.
The error seems to suggest you once ran things as the
root
user ("[..] file /root/.ros/.."). Can you think of a reason why that would be the case? Your normal user does not have access to that directory, but a typical ROS installation wouldn't need a dir in/root/
either.Well whenever I do anything in the terminal I always input this command: sudo -i
Nevermind I got it. I input the command sudo -s and it worked. Thanks