2023年5月11日 星期四

M2的iTerm2出現Operation not permitted

在M2 MacBook,系統是macOS Ventura 13.3.1的終端機(Terminal)或另外安裝的終端機iTerm2出現下列錯誤:

ls: .: Operation not permitted

這是macOS預設會將應用軟體的Full Disk Access給關閉,打開方式如下:

  1.  ⇢ System Preferences ⇢ Privacy & Security
  2. 選取Full Disk Access
    1. 勾選iTerm (注意是iTerm而不是iTerm2)
    2. 勾選Terminal (這樣終端機也可以使用)


參考資料

_EOF_

a birds eye view overlooking an ancient fantasy city surrounded by mountains and trees of greens and browns, rivers and lakes by Albert Bierstadt, Asher Brown Durand and Ryan Dening, artstation, beautiful color pallette

Steps: 20, Sampler: DPM++ 2M Karras, CFG scale: 7, Seed: 2490747983, Size: 512x256, Model hash: 6ce0161689, Model: v1-5-pruned-emaonly, Version: v1.6.0-2-g4afaaf8a

Time taken: 3 min. 51.1 sec.
A: 3.35 GB, R: 3.67 GB, Sys: 2.0/2 GB (100.0%)

沒有留言:

張貼留言