mstorsjo / msvc-wine

Scripts for setting up and running MSVC in Wine on Linux
Other
683 stars 83 forks source link

runnig install.sh - permission denied #102

Open mist099 opened 10 months ago

mist099 commented 10 months ago

Hi,

  1. i have created msvc on my home folder in Doker container
  2. I run the python3 vsdownloader.py --accept-licence --dest ~/msvc and i get some folders: DIA SDK, kits, VC.
  3. When i try to run ./install.sh ~/msvc i get permission denied error. also if I want to ru with: sh -c i also get permission denied. All your files are present in ~/msvc folder What can I do to continue?
mstorsjo commented 10 months ago

I don't know offhand what the issue is here. I would suggest that you first remove the previous ~ /msvc directory which may be in an unknown state. Edit install.sh, change the line set -e (line 17) to set -ex - then it should print what commands it executes within the script. If you copy the last dozen of lines printed before the error, including the error, it should be easier to guess what is going wrong.

indrekis commented 6 months ago

I have similar (same?) problem under the WSL2[^EC] on the case-insensitive filesystem -- those renaming fail:

if [ -d HostARM64 ]; then
    # 17.2 - 17.3
    mv HostARM64 Hostarm64
fi
if [ -d HostArm64 ]; then
    # 17.4
    mv HostArm64 Hostarm64
fi
if [ -d Hostarm64/ARM64 ]; then
    # 17.2 - 17.3
    mv Hostarm64/ARM64 Hostarm64/arm64
fi

[^EC]: Currently failed to make it work under WSL2 because of the Wine crushes, though it is not especially useful. :-)