-
Notifications
You must be signed in to change notification settings - Fork 40
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
WIndows: INSTALLDIR's permission seems not right. #134
Comments
If you move the Besides, it looks like this exact change is currently being implemented in #139. |
@wjk hmm, I don't see how that PR changes the permissions or the location (it merely renames |
My apologies. I confused what you were changing with what was already there. I would recommend moving the toolchain under ProgramFiles as well. |
No worries; that PR is also not mine :)
I'd like to do that some day. However, the name is an issue - if we can rename |
Unfortunately, the space in Program Files is non-negotiable. |
I know; but that also means that it is currently something that is not worth fighting over. Using the alternate path allows focus on the other larger issue of tool stability and quality. Once those are settled, I think going over the codepaths with a fine tooth comb to find any possible issues where the spaces could be a problem (e.g. VFS computation, name computation, etc). |
Okay, I've played around a little bit with the toolchain. Given that we are already renaming part of the toolchain for version information, I think that we can also reasonably just move the toolchain portion safely as well. The current idea is to move the toolchain from |
So, moving to the per-user install would actually mean that we can be safe for the most part (unless the user has a space in the username). The install should get isolated to |
INSTALLDIR's permissions seems not right.
Directory permissions after install swift-5.7-DEVELOPMENT-SNAPSHOT-2022-06-04-a-windows10.exe on Windows 10 x64:
I don't think you want Authenticated Users Group has the write permission.
The text was updated successfully, but these errors were encountered: