Network

[Mac] 빌드 진행 zsh: permission denied: 해결방법

한비Skyla 2024. 7. 2. 16:23

📚문제상황 

인텔리제이에서 콘솔창으로 애플리케이션 빌드를 하려고 했으나 

그냥

./gradlew build 을 누르니까

 zsh: permission denied: 

가 뜸.

 

🔎 해결

실행 권한을 주어야 함! 

 chmod +x <실행파일명>

https://discussions.apple.com/thread/255488063?sortBy=best

 

Error zsh: permission denied in Terminal … - Apple Community

Ordinarly Bash shell scripts have .sh extensions and Zsh scripts have .zsh. You can also put the contents of either script in a file that ends with .command, and that is double-clickable from the Finder, launches Terminal, runs the script, and then quits t

discussions.apple.com

 

'Network' 카테고리의 다른 글

[CS] IP 와 DNS  (4) 2025.05.21
[Linux] 기본적인 리눅스 명령어  (0) 2025.02.17
MOM(메시지 지향 미들웨어), 메시지 큐  (0) 2024.12.18
[API] Rest API  (2) 2024.05.31