We are running this on a Windows server and at the end of the crawl we are getting a The page cannot be found error.  In the URL its stating "errmsg=Error+writing+to+these+files"  "Please+correct+files+permissions+and+resume+sitemap+creation."   We've allowed read/write to the sitemap.xml file.  
What did I miss?
Thanks for your help.