Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Please show us the output of ls -al $HOME/.ros.

It's (very) likely that you've run roslaunch with sudo at some point in the past, which causes problems with access permissions for the $HOME/.ros directory.

Please show us the output of ls -al $HOME/.ros.

It's (very) likely that you've run roslaunch with sudo at some point in the past, which causes problems with access permissions for the $HOME/.ros directory.


Edit:

drwxr-xr-x  3 root root 4096 lis 23 19:43 .

as you can see from this, your $HOME/.ros is owned by root. That is why you receive permissions errors.

This should fix it:

sudo chown $USER: -R $HOME/.ros

This is one of the reasons never to run roslaunch (or rosrun) with sudo or as the root user.