Can't write to files no matter what

I’m trying to get this plug-in up and running. I am using 3.2.9. I have created and uploaded the sitemap.xml and sitemap.xml.gz files, and uploaded them. Permissions at 666 did not work, so I have done 755 and 777, and still the plug-in configuration page says that the files can’t be written to.