homebrew-cask: Bug report: "Operation not permitted" when installing parallels-access
Description of issue
I’m trying to install Parallels Access. This failes with Operation not permitted but more on that below. I have looked into the PRs that added the cask and there was some discussion going on but since I’m new in the Mac and homebrew world I couldn’t really find out more about my issue.
Output of `brew cask install parallels-access --verbose`
I skipped the downloading output.
==> Verifying checksum for Cask parallels-access
==> ditto: /usr/local/Caskroom/parallels-access/3.0.2-30719/Parallels Access.app/Contents/PkgInfo: Operation not permitted
Error: Command failed to execute!
==> Failed command:
/usr/bin/ditto --bom /var/folders/dy/s6dd70892l35f0444cwt96t40000gn/T/20161118-34303-8e1s7c.bom -- /private/tmp/dmg.g91GOH #<Pathname:/usr/local/Caskroom/parallels-access/3.0.2-30719>
==> Standard Output of failed command:
==> Standard Error of failed command:
ditto: /usr/local/Caskroom/parallels-access/3.0.2-30719/Parallels Access.app/Contents/PkgInfo: Operation not permitted
==> Exit status of failed command:
#<Process::Status: pid 34468 exit 1>
Error: Kernel.exit
Output of `brew doctor`
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!
Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.
Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew provided
script of the same name. We found the following "config" scripts:
/Applications/Postgres.app/Contents/Versions/latest/bin/gdal-config
Warning: Broken symlinks were found. Remove them with `brew prune`:
/usr/local/share/man/man8/prlexec.8
Output of `brew cask doctor`
==> macOS Release:
10.12.1
==> Hardware Architecture:
intel-64
==> Ruby Version:
2.0.0-p648
==> Ruby Path:
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
==> Homebrew Version:
Homebrew 1.1.1
Homebrew/homebrew-core (git revision 0b98; last commit 2016-11-17)
==> Homebrew Executable Path:
/usr/local/bin/brew
==> Homebrew Cellar Path:
/usr/local/Cellar
==> Homebrew Repository Path:
/usr/local/Homebrew
==> Homebrew Origin:
https://github.com/Homebrew/brew
==> Homebrew-Cask Version:
Homebrew-Cask 1.1.1
caskroom/homebrew-cask (git revision 76e15; last commit 2016-11-17)
==> Homebrew-Cask Install Location:
<NONE>
==> Homebrew-Cask Staging Location:
/usr/local/Caskroom
==> Homebrew-Cask Cached Downloads:
/Users/lukasmalkmus/Library/Caches/Homebrew/Cask
0 files, 0B
==> Homebrew-Cask Default Tap Path:
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask
==> Homebrew-Cask Alternate Cask Taps:
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-fonts
==> Homebrew-Cask Default Tap Cask Count:
3427
==> Contents of $LOAD_PATH:
/usr/local/Homebrew/Library/Homebrew/cask/lib
/usr/local/Homebrew/Library/Homebrew
/Library/Ruby/Site/2.0.0
/Library/Ruby/Site/2.0.0/x86_64-darwin16
/Library/Ruby/Site/2.0.0/universal-darwin16
/Library/Ruby/Site
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0/x86_64-darwin16
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0/universal-darwin16
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/x86_64-darwin16
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin16
==> Contents of $RUBYLIB Environment Variable:
<NONE>
==> Contents of $RUBYOPT Environment Variable:
<NONE>
==> Contents of $RUBYPATH Environment Variable:
<NONE>
==> Contents of $RBENV_VERSION Environment Variable:
<NONE>
==> Contents of $CHRUBY_VERSION Environment Variable:
<NONE>
==> Contents of $GEM_HOME Environment Variable:
<NONE>
==> Contents of $GEM_PATH Environment Variable:
<NONE>
==> Contents of $BUNDLE_PATH Environment Variable:
<NONE>
==> Contents of $PATH Environment Variable:
PATH="/Library/Frameworks/Mono.framework/Versions/Current/Commands:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/lukasmalkmus/Code/Go/bin:/usr/local/opt/go/libexec/bin:/Applications/Postgres.app/Contents/Versions/latest/bin:/usr/local/Homebrew/Library/Homebrew/cask/cmd:/usr/local/Homebrew/Library/Homebrew/shims/scm"
==> Contents of $SHELL Environment Variable:
SHELL="/usr/local/bin/fish"
==> Contents of Locale Environment Variables:
LANG="de.UTF-8"
LC_ALL="en_US.UTF-8"
LC_CTYPE="UTF-8"
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 1
- Comments: 25 (18 by maintainers)
Yes you have misunderstood - I was running the install script included with the app manually, completely outside Cask.
Interesting, thank for your detailed answer.
What are you waiting for, support for Sierra? When it happens, I would be interested to know how you do this for testing - my “testing machine” is actually my wife’s computer (which is in fact my old MacBook Pro), and I do not think she appreciates me using her computer as a “guinea pig”.