After upgrading to Fedora 18, I am no longer able to edit the files in my html folder using gedit. The files have the following permission:
-rw-r-----. me apache unconfined_u:object_r:httpd_sys_content_t:s0
Whenever I tried to save the file, a warning would appear:
Could not create a backup file while saving /var/www/html/my_file
gedit could not back up the old copy of the file before saving the new one. You can ignore this warning and save the file anyway, but if an error occurs while saving, you could lose the old copy of the file. Save anyway?
I am given the option to "save anyway" or "don't save". But no matter how I click to save it, the warning keeps appearing, preventing me from saving the file.
Since I am the owner of the file, shouldn't I be able to edit it? Not sure why I couldn't do so in this case.