↧
Answer by Jakeimo for Vim Error 'E212: Cannot open file for writing', when...
Thanks for the answers. I ended up solving the issue by changing the the folder owner to myself, using chown. This resulted in me not having to use sudo everytime I wanted to create/edit a file.
View ArticleAnswer by Sepero for Vim Error 'E212: Cannot open file for writing', when...
You need to run vim as root.sudo vim /var/www/file
View ArticleAnswer by nikhil mehta for Vim Error 'E212: Cannot open file for writing',...
Sorry I am not able to comment yet. Try to run command :sudo -s by this you will login as root. Then, I guess, you can do whatever work you want to.
View ArticleVim Error 'E212: Cannot open file for writing', when trying to create new...
I am running Wheezy Debian. When I try to create a new file in a directory other than my home directory, such as /var/www, I get the following error in vim:E212: Cannot open file for writing.I assume...
View Article
More Pages to Explore .....