[ros-users] problem using ros_tutorials

Michael Styer michael at styer.net
Fri May 14 21:29:05 UTC 2010

On 05/14/2010 02:21 PM, Jack O'Quin wrote:
> On Fri, May 14, 2010 at 4:15 PM, Michael Styer<michael at styer.net>  wrote:
>> Thanks for the suggestion, Felix. I found the real problem just now,
>> though. I was running rosinstall under sudo, and sudo wasn't preserving
>> $ROS_ROOT, so rosinstall failed to create setup.sh. Adding env_keep=* to
>> the Defaults section in /etc/sudoers did the trick.
> Running it under sudo is probably a bad idea.
> Why are you doing that?
Just because I'm installing it in /opt, which isn't world-writeable, 
rather than ~, because my /home partition is kind of full. Of course 
there are all kinds of ways around that, and 'sudo rosinstall' is only 
one of them, I just happened to do it that way and couldn't figure out 
for a bit why it didn't work.


More information about the ros-users mailing list