Hello, Im trying to host a wordpress blog at hostgator. The problem im having is that the theme editor and the pluggin editor dont work and the message i recieve is "If this file were writable you could edit it." I have been in contact with hostgator and they are quite positve that its a WP problem. I have hosted and run other WP blogs and have never run into this before. Any help would be apreciated. Thanks,
The error message means that the user that is trying to write to the file doesn't have the necessary permissions to do so. Note that the user trying to edit the file might not be "you". It depends how the host has Apache setup, what user Apache is running as, if that user is in the same group as you, etc. If chmod 666 didn't work then you can assume that the user Apache is running as isn't in the same group as you since the middle six indicates any members of the same group can read and write to that file. So it sounds like a chmod 777 might be the only (yikes) option.
problem is, if permissions are 666, then the owner, owning group, and everyone have read/write access. If you still can't write to it, I'd say the issue is something different. Check the file permissions and that should help.
MarRome 2 steps to follow: 1. download the file to your pc and then modify it and then upload it again. or 2. Temporary give the file full writes and then as soon as modification are over, remove the rights given to the file.