msvc-wine icon indicating copy to clipboard operation
msvc-wine copied to clipboard

runnig install.sh - permission denied

Open mist099 opened this issue 1 year ago • 2 comments

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?

mist099 avatar Jan 14 '24 17:01 mist099

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.

mstorsjo avatar Jan 14 '24 21:01 mstorsjo

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. :-)

indrekis avatar May 12 '24 06:05 indrekis