Reputation: 129
I installed an extension for creating notes and gave it a path for storing them in my vscode folder which is in program files, but vscode shows there is no permission to write in that folder. How can I fix it?
Upvotes: 3
Views: 34957
Reputation: 649
In unix, it can be done by changing directory ownership to $USER
chown $USER /directory
That's all!
Upvotes: 0
Reputation: 628
Launch VS Code. Open the Command Palette (⇧⌘P) and type 'shell command' to find the Shell Command: Install 'code' command in PATH command. Then open terminal and type this command "sudo code"
Upvotes: 0