Results 1 to 3 of 3
Hello I use Shell to edit with vi editor one .conf file on my server but I see this strange error:
E212: Can't open file for writing
I try to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-19-2012 #1Just Joined!
- Join Date
- Nov 2012
- Posts
- 4
SSH problem E212: Can't open file for writing
Hello I use Shell to edit with vi editor one .conf file on my server but I see this strange error:
E212: Can't open file for writing
I try to save with
:w but nothing just this error...
Thank You in advance.
- 11-19-2012 #2Linux Guru
- Join Date
- Oct 2007
- Location
- Tucson AZ
- Posts
- 2,563
Take a look at the link below. Most likely, you do not have permission to edit/write to the file. That is a standard vi/vim error output and goolging the error should give you a number of sites with suggestions.
vi - /etc/apt/sources.list" E212: Can't open file for writing - Stack Overflow
- 11-20-2012 #3Just Joined!
- Join Date
- Nov 2012
- Posts
- 4
Fixed
just root error... 



Reply With Quote
