catkin_make error permissions on external drive

asked 2017-02-17 22:36:13 -0500

ngoldfarb gravatar image

I am trying to create catkin workspace on a external drive and I am getting the following error when I run catlkin_make

` File "/usr/lib/python2.7/subprocess.py", line 566, in check_output
    process = Popen(stdout=PIPE, *popenargs, **kwargs)
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 13] Permission denied
CMake Error at /opt/ros/indigo/share/catkin/cmake/safe_execute_process.cmake:11 (message):
  execute_process(/usr/bin/python
  "/media/nathaniel/Data/catkin/build/catkin_generated/generate_cached_setup.py")
  returned error code 1
Call Stack (most recent call first):
  /opt/ros/indigo/share/catkin/cmake/all.cmake:186 (safe_execute_process)
  /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:20 (include)
  CMakeLists.txt:52 (find_package)


-- Configuring incomplete, errors occurred!
See also "/media/nathaniel/Data/catkin/build/CMakeFiles/CMakeOutput.log".
See also "/media/nathaniel/Data/catkin/build/CMakeFiles/CMakeError.log".
nathaniel@nathaniel:/media/nathaniel/Data/catkin/build$ `

I am not sure how to solve this problem can anybody help me out?

edit retag flag offensive close merge delete

Comments

1

Is the external drive formatted using NTFS or FAT32 by any chance?

gvdhoorn gravatar imagegvdhoorn ( 2017-02-18 04:51:13 -0500 )edit

I believe that is is NTFS. It is a shared drive with my windows partition.

ngoldfarb gravatar imagengoldfarb ( 2017-02-18 05:47:08 -0500 )edit
2

I'm not sure, but you could check how your disk is mounted. See Why does Ubuntu refuse to execute files from an NTFS partition? for some background.

Note that I don't believe this is a ROS/Catkin problem per se.

gvdhoorn gravatar imagegvdhoorn ( 2017-02-18 06:26:43 -0500 )edit