Robotics StackExchange | Archived questions

how to resolve permission error in Ros setup.bash file

I am new on linux.I have installed ROS kinetic and Vrep.Now I am trying to build ROS Vrep plugin but when I type this command $ source /opt/ros/kinetic/setup.bash I got Permission Denied answer can anybody please help me

Asked by Sonia on 2017-03-20 08:22:31 UTC

Comments

Could edit your question to include the output of the following commands (i) ls -la /opt/ros/kinetic/setup.bash (ii) groups and (iii) whoami?

Asked by jarvisschultz on 2017-03-20 15:37:07 UTC

hello, have you finished to install vrep3.4 and ros(kinetic)? I met many problems in the progress. if you made it, could u help me ? cheers

Asked by Zhuang on 2017-08-20 02:36:38 UTC

"many errors" is not descriptive enough for someone to be able to help you very much. If you have a specific error, I'd suggest posting a new question. Good luck!

Asked by jarvisschultz on 2017-08-25 15:16:17 UTC

Answers

try with sudo? as in $sudo source /opt/ros/kinetic/setup.bash

Asked by dgrixti on 2017-03-20 08:52:22 UTC

Comments

Shouldn't need to use sudo to source a file like this. OP has a currently-unidentified issue, and randomly throwing sudo at it is likely not a very good idea.

Asked by jarvisschultz on 2017-03-20 15:27:30 UTC