-
Notifications
You must be signed in to change notification settings - Fork 184
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
install.py: [!] Failed to extract archive: Permission denied #28
Comments
when debugging with pdb:
|
Updating to Windows 10 Insider Preview 15031 |
Probably caused by cygwin http://stackoverflow.com/questions/3826484/using-python-ctypes-with-cygwin |
The script was originally designed to work with the Windows distribution of Python. After the script was mostly finished, I added support for Cygwin, but it required a lot of hacks, since Cygwin ships the Linux version, so to speak, so a lot of Windows-specific functionalities are missing, lack of ctypes.WinDLL being one of them. However, it is working on my Cygwin installation as the script is now, so it should work for you as well under normal circumstances. I'll try recreating the issue so I can see what I can do about it, meanwhile, you can try the compiled version of the script: https://github.com/RoliSoft/WSL-Distribution-Switcher/releases Currently, the compiled version is the latest version, and does not require separate Python runtime. Just run the exes from command prompt as you would run the scripts. |
Upgraded to Updating to Windows 10 Insider Preview 15031. Specified explicit path to installed windows version of Python 3.6. Running from powershell.
The same happens when I run the powershell as administrator. |
Minimum reproduction scenario on both versions 15031 and 14393.51 in powershell:
|
Could you please check if this issue resolves itself if you run the script as administrator? You don't need admin for the scripts, but for debugging purposes, let's make sure whether this is a genuine permission issue, or something else disguised as "Access is denied". |
Now I made it work. Even under normal user. The ntfs extended attribute dll wasn't allowed to be executed for any user. How to fix it:
|
OS Build: 14393.693
python: 3.4.5 cygwin
How can I allow it to write there?
The text was updated successfully, but these errors were encountered: