Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I've installed seotools using a drush make file for Drupal 7.14 and aegir hostmaster-6.x-1.8. The xmlsitemap subdirectory is created in the proper place (/path-to-platform/sites/domain-name/files/xmlsitemap/) and is owned by "aegir.www-data". The xmlsitemap cache directory is created in this subdirectory, but is owned by "aegir.aegir", so consequently the directory isn't writeable by the apache user until I manually change the group owner to www-data.. I'm not sure if this is a bug or a configuration issue on my end or if there's a simple work-around.
Comment | File | Size | Author |
---|---|---|---|
#6 | Screenshot from 2014-04-23 20:05:32.png | 36.13 KB | m.stenta |
Comments
Comment #1
berkas1 CreditAttribution: berkas1 commentedsame problem here, but I think this is problem of aegir, not the sitemap module....
Comment #2
valkum CreditAttribution: valkum commentedanything new?
Comment #3
redben CreditAttribution: redben commentedAegir problem or xmlsitemap's ?
Comment #4
valkum CreditAttribution: valkum commentednot sure. dir is created thorugh file_prepare_directory with these flags: FILE_CREATE_DIRECTORY | FILE_MODIFY_PERMISSIONS
maybe aegir should check permission in files directories every 10 cron runs.
set user to aegir:www-data for files -R
and check permissions.
Comment #4.0
valkum CreditAttribution: valkum commentedFix typos (auto-spell correction aegis -> aegir)
Comment #5
ergonlogicPlease try again with Aegir 2.x, as Aegir 1.x is deprecated. If it remains an issue, please post the results here, and we'll take another look.
Comment #6
m.stentaI am experiencing this issue with Aegir 2.x, using a custom installation profile that includes and depends on XML Sitemap. Attached is a screenshot of my Status report page after a new site is installed via Aegir.
The file mentioned in my Status report page appears to have the wrong group - "aegir" instead of "www-data", which means Apache is unable to modify it.
Here is what an "ls -al" gives me in the directory. Notice that the group of the file is "aegir", not "www-data".
Comment #7
mengi CreditAttribution: mengi commentedUsing Aegir 2.1
The folder (public://xmlsitemap) ownership is www-data:www-data and the cache file directory ownership is aegir:aegir. And then the actually sitemap file is aegir:aegir.
This throws a warning in the status report saying
I verified the site through aegir's frontend but it didn't change anything, so I manually changed the above directory to aegir:www-data and that removes the warning in the status report.
Comment #8
dagomar CreditAttribution: dagomar commentedI have the same problem. No solution yet? My problem is worse because I don't have chown rights.
Comment #9
helmo CreditAttribution: helmo commentedThis is the relevant commit. It introduced the code with which we do not blindly chown recursively.
Via an implementation of provision_drupal_chgrp_directories_alter() you could probably add the xmlsitemap path.
Comment #10
helmo CreditAttribution: helmo as a volunteer and at Initfour websolutions commentedMarking as closed as due to a lack of activity.
--
This is a templated response, please re-open or comment if you think it's in error.