visual-studio-codepermissionschromebook

How to set permissions when running VS Code on a Chromebook?


enter image description here

I'm trying to install Visual Studio Code on a Chromebook. It seems to have installed normally and I can open the template files that I need.

However, when I try and create a new file I get this permission denied error.

I've tried searching online for help setting permissions so VS Code can access certain Chromebook directories, but can't find the help I need. I've tried creating the new file in both the 'Downloads' directory, and in the 'Google Drive' directory but I get the same error. I am following along with a coding course in Udemy but the video doesn't show this error occuring.


Solution

  • The target folder is mounted read-only for installation.

    enter image description here

    Right-click on Downloads and select “Share with Linux”.

    enter image description here

    A file was created in the target folder.

    enter image description here