6
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.

【Mac】Operation not permitted 解消法

Posted at

はじめに

ls ~/.Trashなどのコマンドを実行すると以下のようにエラーが発生します。

$ ls ~/.Trash
ls: /Users/username/.Trash: Operation not permitted

このエラーの解消方法について記載します。

解消法

ターミナルのアプリにフルディスクアクセスを許可することで解消できます。

「システム設定」→「プライバシーとセキュリティ」→「フルディスクアクセス」と移動します。
ターミナルアプリの左側のトグルをクリックして許可します。

スクリーンショット 2023-01-06 23.44.13のコピー.png

6
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
6
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?