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

runnig install.sh - permission denied #102

Open
mist099 opened this issue Jan 14, 2024 · 2 comments
Open

runnig install.sh - permission denied #102

mist099 opened this issue Jan 14, 2024 · 2 comments

Comments

@mist099
Copy link

mist099 commented Jan 14, 2024

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
Copy link
Owner

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
Copy link

I have similar (same?) problem under the WSL21 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

Footnotes

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants