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

Permission denied error while installing openNI and SensorKinect

asked 2019-06-03 18:42:56 -0500

medashan gravatar image

I am trying to install openNI and sensor kinect for my kinect2 in ubuntu 18.04. I am using the openNI 1.5.40 and sensor kinect version 5.1.0.41. When i am trying to install both i was getting error "permission denied". I also changed my root password as well to double check if i forgot the password. Can anyone let me know what mistake i am doing?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2019-06-04 15:16:50 -0500

jamesislost gravatar image

Have you ran the install command using sudo? Otherwise check your user permissions, and add it as a superuser or to the dialout group depending on the specific error message. Examples of this can be found here: https://www.linode.com/docs/tools-ref...

edit flag offensive delete link more

Comments

I fixed the error which i got before. However, I am now getting a new error.

ls: cannot access '/home/rrluser/Downloads/openni_1.5.4.0.orig/OpenNI-OpenNI-e263e59/Platform/Linux/CreateRedist/./Lib/*': No such file or directory

medashan gravatar image medashan  ( 2019-06-04 16:43:34 -0500 )edit

Have you followed that file path to confirm the file exists? And if you can find the file check it is definitely on that route, if not either rename the route in the launch file or move the file.

jamesislost gravatar image jamesislost  ( 2019-06-04 22:25:38 -0500 )edit

If everything appears in the right places, maybe confirm the environment is properly sourced in the bashrc? run gedit ~/.bashrc scroll to the bottom and look for the following. source /opt/ros/kinetic/setup.bash source /WORKSPACE/devel/setup.sh export ROS_PACKAGE_PATH=/your/path/to/workspace:$ROS_PACKAGE_PATH

jamesislost gravatar image jamesislost  ( 2019-06-04 22:26:37 -0500 )edit

The file exists and the filename is install.sh. However, i am confused with the error. I have my bash file in CreateRedist. I am not sure what "./Lib/" points too in the error i got

I also checked the bashrc file. I have only one line at the bottom

source /opt/ros/melodic/setup.bash

I don't see other two lines

source /WORKSPACE/devel/setup.sh export ROS_PACKAGE_PATH=/your/path/to/workspace:$ROS_PACKAGE_PATH

medashan gravatar image medashan  ( 2019-06-05 17:07:48 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2019-06-03 18:42:56 -0500

Seen: 252 times

Last updated: Jun 04 '19