I ran into the following error (or something like it) while setting up Drupal's xmlsitemap module:
public://xmlsitemap/lOtsOfgoBBlDegOOk not found or not writable
This is as expected some kind of permissions issue. Why the module can't sort this on its own, I do not know. As with everything Drupal, clear the cache first to see if that fixes things. It sometimes does. If not, you will need to get your hands dirty on the commandline (if linux):
- Go to your site's files directory. This should typically be somewhere like:
within your Drupal (7) installation.
- You should find a directory named
xmlsitemap. If you use an
ls -l, you should be able to find out what its permissions are. In my case, it read:
drwxrwxr-x 3 www-data www-data 4096 Mar 24 11:13 xmlsitemap
Note that the "owner" and "group" are both
www-datawhich has write permissions to this directory.
- If you enter this directory, you should be able to find a directory where the xmlsitemap module stores the sitemap. On my box this read something like:
drwxrwxr-x 2 druss druss 4096 Apr 10 15:05 UTYUiutuyjh765uytuytujgjhgujhg76776yyygh
Note that only the user
drusshas write permissions here. "All" users do not.
- Changing the ownership here to
sudo chown -R www-data UTYUiutuyjh765uytuytujgjhgujhg76776yyygh
- Clear the Drupal cache once again to see if this fixes things. It did for me.
Again, why the module can't do this by its own, I do not know.