Not able to write a file with root I am trying to write to a vim file, fortran.vim. I gave myself access to root following these guidelines. I also saw this SO post, but the answers did not help. 

sh-3.2# ls -l fortran.vim
-rw-r--r--  1 root  wheel  4043 Sep  9  2010 fortran.vim
sh-3.2# whoami
root


root seems to have read/write access to the file, and I am indeed logged in as root. Any idea what the problem is here?

Update after comments:


:w! doesn't work
I am in directory /usr/share/vim/vim73/ftplugin/
Running ls -dl returns: drwxr-xr-x  178 root  wheel  6052 May  1  2014 .
Files in /usr are protected by SIP, see What is the &quot;rootless&quot; feature in El Capitan, really? for details. vim should be able to read config files from user-writable directories as well, man vim has the details.