-
Notifications
You must be signed in to change notification settings - Fork 11
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
Error "An error occurred during execution. Make sure you have write access rights to the VSCode files, see README" #2
Comments
Hi, same problem occured, the solution would be Open VS Code as Administrator. |
Any idea on how to do this in Ubuntu? Edit: Spoke (typed?) too soon. I ran VSC with the previous command and installed the Fix Checksum extension on this new, fresh Admin VSC instance and later ran the |
I tried to using this command on my Ubuntu 20.04 but nothing runs, I tried to look for solutions but I haven't found any. I tried to install vscode through both snapstore and apt installation. I found that this command only works with snap installation of vscode. |
Hello did you fix it? |
I was able to run the vscode as superuser, but now the problem is that the window is totally blank, I don't know if it has something to do with the line I used. |
Well I tried this and it worked. It's not necesary to start VS with root just give some permissions with this comand. sudo chown -R $(whoami) /usr/share/code/ You can add the path where your extension was installed or give access to all extensions. |
I don't know if what I did was correct but I've changed the permissions with chmod, because chown only changes the propietary of the directory, something like this:
This worked for me on debian 12, if I've broked something please feel free to tell me how do i fix it. |
when i use fix show this error
An error occurred during execution. Make sure you have write access rights to the VSCode files, see README
and when click one more time
No changes to checksums were necessary.
The text was updated successfully, but these errors were encountered: