I am modifying an AEM Dispatcher configuration. Unlike other configuration files, an attempt to save this file in vi with w! results in '"dispatcher vhost.conf" E212: Can't open file for writing' error.
The command I used to open this file is "sudo vi dispatcher_vhost.conf". I don't have problems with other files in /etc/httpd/conf.d even though the file permissions are exactly the same.