PC 세팅을 하다가 폴더 내에 pem key 권한 조정을 한번에 하고 싶어서
chmod 455 *.pem 이렇게 해버렸다... 경로 설정도 없이 해서 그런가 이후부터 terminal이 정상작동이 안되기 시작...
permission deny 막 뜬다...
설정 > 개인정보 보호 및 보안 > 파일 및 폴더에 iterm를 활성화 시켜도 deny...
구글링을 통해 아래 명령어를 찾았다. 아래 명령어로 모든 파일 권한을 재설정하면 접근이 가능하다.
diskutil resetUserPermissions / `id -u`
https://discussions.apple.com/thread/7963534?sortBy=rank
Reset All File Permissions - Apple Community
I have a problem. I was messing around with file permissions and screwed up some of my root directory folders. Now every users folder is public to anyone and there could be more issues I haven't found. I can't find anything on here that suggests any easy w
discussions.apple.com
https://stackoverflow.com/questions/64188544/cd-permission-denied-downloads-on-mac-os-terminal
cd: permission denied: Downloads on Mac OS terminal
I was trying to connect to an EC2 instance on AWS using chmod and ssh and some how lost permission to cd into my Downloads Apparently must have messed something up while attempting to do it since i...
stackoverflow.com