I am using VS Code (1.30.02) and Ubuntu 18.04. When I try to save any changes in VS Code, I get this error:
Failed to save 'SomeFileName.js': Insufficient permissions. Select 'Retry as Sudo' to retry as superuser.
I have the same issue if I try to create a new file:
Permission denied writing to file (file:///path/to/new/file/newfile.js)
I am making these changes or trying to create new files in my own directory. I am new to Ubuntu, so I apologize if this is a stupid question, but I am not sure what I am doing wrong. What is the issue?
/home/username). If saving files in your home directory is not possible, something is wrong on another level. Saving files elsewhere should not be possible without some modification first and is not encouraged. – Jos Jan 31 '19 at 16:31