Archive

[Mac][Solution] Mac Iterm2 명령어 작동하지 않을 때 (ls: .: Operation not permitted) 본문

------- CS -------/OS

[Mac][Solution] Mac Iterm2 명령어 작동하지 않을 때 (ls: .: Operation not permitted)

enent 2022. 5. 2. 18:07
반응형
Environment : MacOS BigSur 11.4

 

Problem)

특정 디렉토리에서 ls 명령어 입력 시 명령어가 작동하지 않음...

 

 

 

Solution)

Iterm2에 특정 디렉토리에 대한 접근 권한이 없기 때문 ->  맥 설정에서 전체 디스크 접근 권한을 부여해줌으로서 해결 가능

 

 

1) System Preference > Security & Privacy

 

2) Full Disk Access > iTerm Check

 

 

 

 

반응형
Comments