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

[SR-7325] Some macOS toolchain snapshot packages require admin privileges #49873

Open
tkrajacic opened this issue Apr 1, 2018 · 6 comments
Open
Assignees
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior.

Comments

@tkrajacic
Copy link

Previous ID SR-7325
Radar None
Original Reporter @tkrajacic
Type Bug

Attachment: Download

Additional Detail from JIRA
Votes 0
Component/s Project Infrastructure
Labels Bug
Assignee @shahmishal
Priority Medium

Watchers: @shahmishal

md5: 00314057881c8b10c329bb45ea0922ed

Issue Description:

When downloading snapshots from https://swift.org/download/ the installers differ every now and then.

The installer for org.swift.3020180330a let me install “For this user only” and hence the toolchain ended up in ~/Library/Developer/Toolchains/ while the installer for org.swift.4220180331a didn’t even give me that choice and asked for my admin password right away. Therefore the org.swift.4220180331a toolchain now resides in /Library/Developer/Toolchains

@shahmishal
Copy link
Member

@tkrajacic How are you installing the toolchain? Command line or UI?

@tkrajacic
Copy link
Author

@shahmishal With the regular UI package installer. I download the packages from swift.org

You know that weird out of place UI tat shows you the "Install for this user only; Install for all users" UI with the very ancient Home icon? Sometimes the installer shows this and lets me choose, sometimes this doesn't come up and asks for a password right away (installing into /Library level)

@shahmishal
Copy link
Member

@tkrajacic, when you get to "Installation Type" do you see "Change Install Location..." at the bottom right?

@tkrajacic
Copy link
Author

It is weird. I just downloaded the installers again and the following presents:

Sometimes ❗ the installer skips the "Destination Select" after clicking the first "continue", and sometimes it goes there and shows the select destination list.

When I download the `org.swift.3020180330a` again it always shows me the destination selection.

When I downloaded the `org.swift.4220180331a` again, I first double-clicked the icon in Safari's download list and also the destination list was presented after the first continue. I quit the installer and opened it up again from the Finder. Now it always skips the destination. The `org.swift.3020180330a` still always shows it, while the `org.swift.4220180331a` now never does (I couldn't get it to do it again like when started directly from Safari – if that even mattered and wasn't coincidence)

But yes, I do see that button…

@shahmishal
Copy link
Member

Is this still an issue?

@tkrajacic
Copy link
Author

Yes, this is still an issue. By default the installers skip the location selection and want to install globally and request the user's password. Just tried it with the master and the 4.2 toolchain.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior.
Projects
None yet
Development

No branches or pull requests

2 participants