Home > Development Tools > VSCode > body text

Error installing plug-in extension in vscode

王林
Release: 2019-12-14 11:24:18
Original
9467 people have browsed it

Error installing plug-in extension in vscode

Problem:

Click the install button of the corresponding plug-in in vscode to install it. The installation fails and the software prompts for manual installation (manually install).

Manually download the vsix installation package, then click install from VSIX..., select the vsix installation package for installation, and Error: EACCES: permission denied... is displayed.

This situation is generally due to permission issues that prevent the installation process from operating some files.

Error installing plug-in extension in vscode

Solution:

Run the following command:

sudo chown -R myuser:myuser ~ 
sudo chmod -R 700 ~
Copy after login

Among them, myuser is changed to your user name.

chown -R User name: Group name ~: The first command is to change the directory owner, ~ is the current directory;

sudo chmod -R 700 ~: Modify the permissions of the directory, 700 means rwx --- ---, that is, the current user can read, write, and execute, but group users and other users cannot read, write, or execute.

After executing these two commands, the installation will be successful.

Recommended related articles and tutorials: vscode tutorial

The above is the detailed content of Error installing plug-in extension in vscode. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!