did you transfer the domain file from another computer?
if so you may want to get it back to the other computer and change the permissions of it
+you have to change permissions of the Domain file to be able to edit, save changes and publish a website from another user account and from another computer as well.+
+Select Domain file press Command(Apple)+i under Ownership & Permissions go to =>Details =>Others and select Read & Write+
+You have to do that in the original user account and computer in which the Domain file was created.+
+If you don’t change permissions you will find an error while publishing and saving.+
if you didn't transfer the domain file
+Try repairing disk permissions:+
+1. Go to Applications/Utilities+
+2. Open Disk Utility+
+3. Click Macintosh HD+
+4. Click on Verify Disk Permissions+
+5. Click Repair Disk Permissions.+