0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

MiniPupper ROS: catkin_makeで [Errno 13] Permission denied になってしまう

Last updated at Posted at 2022-03-22

環境

  • windows10
  • Ubuntu20.04 on WSL2
  • ROS noetic

概要

ミニぷぱの公式ドキュメント [ SLAM & Navigation ] を参考にしてホストPCにROS環境を構築しようとしたらmnpp_wsでのcatkin_make (Step 2.5) で "[Errno 13] Permission denied: /home/user/mnpp_ws/build" になった。
*ちなみにLidarを使用する予定はないのでStep 2.4 Cartographer_ros は行っていない。

解決策

現在の所有権を確認

shell
cd
ls -l

おそらくmnpp_ws のところが root:root になっていると思う
次にmnpp_ws以下のすべてのユーザー所有権とグループ所有権を自分にする

shell
sudo chown -R user:user ~/mnpp_ws

所有権を確認

shell
ls -l

user:userに変わっていると思う
これでcatkin_makeできるはず

shell
cd ~/mnpp_ws
catkin_make

参考

Mini Pupper Document

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?