Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permission denied #7

Closed
s2339956 opened this issue Jun 2, 2021 · 2 comments
Closed

Permission denied #7

s2339956 opened this issue Jun 2, 2021 · 2 comments

Comments

@s2339956
Copy link

s2339956 commented Jun 2, 2021

macOS : Big Sur 11.2.2

➜  ~ brew config
HOMEBREW_VERSION: 3.1.9
ORIGIN: https://github.com/Homebrew/brew
HEAD: 76cfe88b7628a8010bf98115627f6aced4ff8870
Last commit: 9 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 81d73c4799c46f64b5b15183c65ec462befb7d74
Core tap last commit: 66 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 16
Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: 16-core 64-bit kabylake
Clang: 12.0.0 build 1200
Git: 2.24.3 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 7.64.1 => /usr/bin/curl
macOS: 11.2.2-x86_64
CLT: 12.4.0.0.1.1610135815
Xcode: 12.4
➜  ~ brew install ipatool
==> Downloading https://github.com/majd/ipatool/releases/download/v1.0.3/ipatool
Already downloaded: /Users/tinxie/Library/Caches/Homebrew/downloads/339ae7c72cf5e0d58ca9adce5056ce8bbd9e3c17762d66a66149c7eb0ad125f2--ipatool
==> Installing Cask ipatool
==> Purging files for version 1.0.3 of Cask ipatool
Error: Permission denied @ dir_s_mkdir - /usr/local/Caskroom/ipatool
@majd
Copy link
Owner

majd commented Jun 2, 2021

It seems like the directory /usr/local/Caskroom has the wrong permissions.

Try running sudo chown $(whoami):staff /usr/local/Caskroom followed by brew install ipatool.

@s2339956
Copy link
Author

s2339956 commented Jun 3, 2021

該目錄似乎/usr/local/Caskroom具有錯誤的權限。

嘗試運行sudo chown $(whoami):staff /usr/local/Caskroom後跟brew install ipatool.

56ce8bbd9e3c17762d66a66149c7eb0ad125f2--ipatool
==> Installing Cask ipatool
==> Linking Binary 'ipatool' to '/usr/local/bin/ipatool'
🍺  ipatool was successfully installed!
➜  ~ ipatool
OVERVIEW: A cli tool for interacting with Apple's ipa files.

USAGE: ipatool <subcommand>

OPTIONS:
  --version               Show the version.
  -h, --help              Show help information.

SUBCOMMANDS:
  download                Download (encrypted) iOS app packages from the App Store.
  search                  Search for iOS apps available on the App Store.

  See 'ipatool help <subcommand>' for detailed help.

It's perfect, it can be used normally
thx, bro

@majd majd closed this as completed Jun 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants