I'm seeing this error message:

One or more problems were detected with your XML sitemap configuration:
The directory private://xmlsitemap was not found or is not writable by the server. See http://drupal.org/node/34025 for more information.

Some observations:
- The error message disappears if I switch to public file downloads
- filesystem permissions on the files/xmlsitemap and private/files/xmlsitemap directories are identical
- as far as I can tell xmlsitemap is working fine, the status report indicates a recent last generated time, and the sitemap appears to be up to date
- the sitemap.xml is accessible via a web browser

I'm thinking there may be an error in the permissions checking rather than the permissions themselves?

Comments

Anonymous’s picture

Category: bug » support
Status: Active » Postponed (maintainer needs more info)

I don't understand? If IIRC the anonymous user can't create files in the Drupal files directory in private mode. However, it is only the anonymous user that accesses sitemap.xml triggering the creation of sitemap.xml.

The statements of "How secure permissions are a problem" are not returning to the files directory in particular. They are referring to the rest of the web system, allowing someone to replace index.php for instance. The files directory should not be able to execute any scripts since you should not be able to enter a URI that will find it.

I have never had luck with private file mode.

drbeaker’s picture

Posted in error.

Anonymous’s picture

socialnicheguru’s picture

Version: 7.x-2.0-beta2 » 7.x-2.0-rc2
Status: Postponed (maintainer needs more info) » Active

I get this error on the status and the xmlsitemap admin page
my file system is private.
how can this module be used in this case?

One or more problems were detected with your XML sitemap configuration:
The following directories were not found or are not writable by the server. See http://drupal.org/node/34025 for more information.
private://xmlsitemap/NXhscRe0440PFpI5dSznEVgmauL25KojD7u4e9aZwOM
The XML cached files are out of date and need to be regenerated. You can run cron manually to regenerate the sitemap files.

Is there anyway to enable public filesystem just for this module?