-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
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
Cask fails to symlink/install to protected areas #21238
Comments
This is an atypical request, and low priority due to that. Like many other low priority issues that no other user cares for, this will be closed to make issue tracking tennable. It may be revisited in the future, but certainly not soon by the core team. A PR may be looked at and discussed, but currently we’re slow on core maintainers to even look at those. |
@vitorgalvao Isn't this necessary to implement #13201 though? Since most of library probably (but not necessarily) requires sudo-ing? |
Not really. We will continue to avoid We have seen many issues with apps requiring the use of |
@vitorgalvao But I'd like to install casks for all users, just like I use homebrew to install CLT packages for all users. (also still studying 13966) Won't the global state be confused for other users, when homebrew-cask begins moving instead of symlinking? Or will other users simply see the cask as not installed in any fashion? |
I'm not sure I understand why this is a problem with HBC. You want to install to a location that requires root access. We can't give you root access, so you must either chown the directory you wish to install to, or use sudo with cask. |
Say I want to install things to the global domain instead of
~
. A reasonable desire, given that homebrew-cask is global. homebrew-cask has no--rootdir=/
option for some reason, so I pass--appdir=/Applications --prefpanedir=/Library/PreferencePanes --qlplugindir=/Library/QuickLook --fontdir=/Library/Fonts --input_methoddir="/Library/Input Methods" --screen_saverdir="/Library/Screen Savers"
. If a cask with a QuickLook plugin is installed, cask then produces an error likeThis shouldn't happen.
The text was updated successfully, but these errors were encountered: