개발/ETC
[ Homebrew ] 권한 오류 Permission denied @ apply2files
쩨이엠
2021. 3. 11. 16:52
728x90
반응형
homebrew로 eksctl을 설치하려는데 오류가 생겼다
Error: Permission denied @ apply2files - /usr/local/lib/node_modules/nodemon/node_modules/term-size/vendor/.DS_Store
Permission denied가 된다면 내가 할 수 있는것은 sudo로 강제로 권한을 주는것뿐!
$ sudo brew install weaveworks/tap/eksctl
Error: Running Homebrew as root is extremely dangerous and no longer supported.
As Homebrew does not drop privileges on installation you would be giving all
build scripts full access to your system.
ㅎ..
역시 나만 이럴 리가 없지
homebrew는 root 권한으로 주면 위험하다고 한다
이러면 권한을 바꿔버리는수밖에
$ sudo chown -R $(whoami) $(brew --prefix)/*
다시 brew install을 하면 잘 되는것을 확인 할 수 있다 !
728x90
반응형