-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
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
Applications symlinks and multi-users? #11584
Comments
In the future, apps will be linked to Please consult the documentation for details. |
Yes, as I said above: "install to another global directory"... But I wanted to avoid that solution because, as explained in the following lines above: placing the symlinks (we are not speaking of the applications themselves) not in the personal folder looses the nice potential of selection/deletion (of symlinks) on a per-user basis, which is far more user-friendly to give each user a part of customization for determining the apps he find useful in his environment. That's why, though it's a compromise, symlinking directly in /Applications would not get my preference if I had alternatives :-) |
I'm confused, how does If you would like to change the default behavior per-user, you could add the following to export HOMEBREW_CASK_OPTS='--appdir=/Applications' And then add the following to each user's export HOMEBREW_CASK_OPTS='--appdir=~/Applications' |
I must have been unclear, please forgive me, I'll try to reformulate. Even if Consider this following scenario in a home with several users:
Then my conclusion is:
Then my wish is:
P.S. The "inspiring" brew command:
|
Ah, I see what you mean. That would indeed be a very nifty feature. Just have multiple symlinks pointing back to the same Cask rather than having separate installations per user. |
To be blunt, there is no value in implementing the feature, at this time. Linking the regular way, with You might argue that is slightly more inconvenient since you have to use the full path down to the version number, and you’d be right. However (and this is why I said “at this time”), we currently can’t even correctly keep track of what you have installed, which means this feature is simply unfeasible, as of now. I’ll keep this closed. Further down the line, when the issues preventing this are solved, we may think about revisiting this. |
@jawshooah Yes, I must be wrong but I thought it was the underlying "spirit" of homebrew-cask:
@vitorgalvao I guess the behavior of existing |
That was never a goal, that I recall.
It’ll take a while to happen, since there is lacking a transition plan, but the decision is made. Most users link there anyway with |
That's why I was wrong ;-) I'll keep watching to the future evolutions. |
I was wondering how to correctly make use of homebrew-cask on a system used by several users.
homebrew
, that's simple: one user (that might be considered as "admin" here for simplification) can install the binaries for all the users. By default, nothing special is added to his own environment, and all the binaries are shared (via automatically created symlinks) in the global homebrew bin directory. It's intrinsically muti-users.homebrew-cask
, there is a little (but important) difference: By default, automatically created symlinks are made available in his personal ~/Applications folder. It's intrinsically far less multi-users.There might be plenty of way to workaround this point (install to another global directory, make symlinks yourself one by one in your ~/Application of another user, etc.). But to mix the current simplicity of use given by homebrew cask, and the really nice potential (of selection/deletion) given by personal symlinks in ~/Applications, would it be possible to think of a new command?
inspired from
brew link
command, it could bebrew cask userlink
:Maybe possible?
The text was updated successfully, but these errors were encountered: