Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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.

  2. #2
    Linux Guru
    Join Date
    Oct 2007
    Tucson AZ
    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

  3. #3
    Fixed just root error...

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts