|Extension|Author|Version|
|---|---|---|
|xml|DotJoshJohnson|1.6.1|
|beautify|HookyQR|0.6.2|
|format-indent|Kasik96|1.3.0|
|terminal-tabs|Tyriar|0.0.6|
|vscode-terminal-here|Tyriar|0.0.5|
|html-css-class-completion|Zignd|1.0.3|
|html-snippets|abusaidm|0.0.18|
|Bookmarks|alefragnani|0.10.1|
|project-manager|alefragnani|0.12.2|
|vscode-color|anseki|0.2.2|
|vscode-standard-format|chenxsan|0.0.12|
|python|donjayamanne|0.5.5|
|vscode-html-css|ecmel|0.0.30|
|vscode-npm-script|eg2|0.1.5|
|php-debug|felixfbecker|1.10.0|
|terminal|formulahendry|0.0.6|
|rest-client|humao|0.11.2|
|Angular2|johnpapa|1.0.2|
|vscode-JS-CSS-HTML-formatter|lonefy|0.2.2|
|MagicPython|magicstack|1.0.3|
|prettify-json|mohsen1|0.0.3|
|debugger-for-chrome|msjsdiag|2.4.1|
|vscode-icons|robertohuertasm|4.3.0|
|launchterminal|testingtestingtesting|0.4.0|
|vscode-react-native|vsmobile|0.2.4|
|bootstrap-3-snippets|wcwhitehead|0.0.9|
|ReactSnippets|xabikos|1.2.0|
Steps to Reproduce:
1.save a file
2.get an error : Failed to save 'file': A system error occured (EACCES: permission denied, open 'file path')
the thing is that it happend sudenly in the middle of a project, and i can't save anymore !

@zecide does this reproduce every time you try? are you editing a file that you do not have write permissions to? does it reproduce when you run with extensions disabled (code --disable-extensions from the command line)?
i wasn't able to figure out what was happening, so i migrated my files to a new project and every thinks goes fine, was not a permission issue, and neither an extension !
Ok please reopen when it happens again.
i know what was the problem :
i'm working with angular cli, when i generate a component using the ng g c name, if in the terminal iam as root, then the generated files belongs to the root user, when after i go to edit them using vscode as a non root i have this error !
Yes you are right that you have created the files and they have root permissions.
The solution is that i created the main project's folder as 'root' and then given it permissions so that i can create files in it. Those files don't have the root as the owner so it doesn't gives an error of permission denied when we try to save/create files in the editor.
Cheers !!
Im a little confused. I set up a vue-cli instance and I cannot save.
sudo chmod -R
if you are using terminal,
login with local user, and then you can run this script
_sudo chown -R $USER
Thank you @Dimas-Prasetya , it works!!!
@Asura19 you're welcome
Yeah this happened as I was editing my first file switching from Vim. Not a good impression :/
this is the solution to me.
access terminal with root and ...
code --user-data-dir="./vscode-root"
ubuntu 16.04
flw.vlw
Most helpful comment
if you are using terminal,
login with local user, and then you can run this script
_sudo chown -R $USER_