JuliaMPC / MAVs

Michigan Autonomous Vehicles
14 stars 14 forks source link

permission denied #118

Closed huckl3b3rry87 closed 5 years ago

huckl3b3rry87 commented 5 years ago
febbo@febbo-HP-Z220-SFF-Workstation:~/Documents/workspace/MAVs$ sh build.sh
middle: Pulling from avpg/cain
Digest: sha256:b0f93807d1c5e45dd9cee4a3708d3e1339b1f58043767652d7952746f9adaa61
Status: Image is up to date for avpg/cain:middle
Sending build context to Docker daemon  278.5MB
Step 1/4 : FROM avpg/cain:middle
 ---> 39b9aecb3da8
Step 2/4 : COPY ros /home/$USERNAME/MAVs/ros
 ---> Using cache
 ---> a87781bf8d83
Step 3/4 : RUN /bin/bash -c 'source /opt/ros/kinetic/setup.bash; cd /home/$USERNAME/MAVs/ros/; catkin_make'
 ---> Running in 7b48ae2ada06
[Errno 13] Permission denied: '/home/mavs/MAVs/ros/devel/.built_by'
Base path: /home/mavs/MAVs/ros
Source space: /home/mavs/MAVs/ros/src
Build space: /home/mavs/MAVs/ros/build
Devel space: /home/mavs/MAVs/ros/devel
The command '/bin/sh -c /bin/bash -c 'source /opt/ros/kinetic/setup.bash; cd /home/$USERNAME/MAVs/ros/; catkin_make'' returned a non-zero code: 1

Following the solution here https://github.com/JuliaMPC/MAVs/issues/86 does not fix this

huckl3b3rry87 commented 5 years ago

https://stackoverflow.com/questions/23870808/oserror-errno-13-permission-denied

huckl3b3rry87 commented 5 years ago

the fix is to delete the devel folder in MAVs fix