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

Read-Only on MacOS Mac Air M1 #349

Open
DETLIXX opened this issue Dec 1, 2022 · 6 comments
Open

Read-Only on MacOS Mac Air M1 #349

DETLIXX opened this issue Dec 1, 2022 · 6 comments

Comments

@DETLIXX
Copy link

DETLIXX commented Dec 1, 2022

Hello, i am trying to install this extension but it show this error

Screenshot_2022-12-01_at_13 36 32

Screenshot_2022-12-01_at_13 37 05

@shalldie
Copy link
Owner

shalldie commented Dec 2, 2022

Try move vscode from Directory Download to Application ~

Due to microsoft/vscode#7426

@shalldie
Copy link
Owner

shalldie commented Dec 4, 2022

Is the problem solved ?

@bhumit070
Copy link

bhumit070 commented Dec 6, 2022

Hello @shalldie My vscode is in /application folder
and I am getting this error

EACCES: permission denied, access '/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.css'

I have macbook pro m1

it prompts me to grant access but when I give it root access

Command failed: mv -f "/var/folders/05/pgfj45fd2gl05m6f6zzs7s040000gn/T/vscode-background-00bb8bf8-f075-41aa-9589-61f02b9e21ca.css" "/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.css" mv: rename /var/folders/05/pgfj45fd2gl05m6f6zzs7s040000gn/T/vscode-background-00bb8bf8-f075-41aa-9589-61f02b9e21ca.css to /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.css: Operation not permitted

it throws above error

@shalldie
Copy link
Owner

shalldie commented Dec 7, 2022

@bhumit070
Sounds seem that your account doesn't have the root access.

Try this command in your terminal:

sudo chmod a+rw '/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.css'

then reload vscode, can it works?

@bhumit070
Copy link

Okay, I will try but to solve this issue i copied this command in terminal with sudo prefix and ran manually and worked.

But I will also try this it this will work or not

@lainisourgod
Copy link

@shalldie doing sudo chmod a+rw '/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.css' helped for me. thanks!

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

4 participants