Closed (cannot reproduce)
Project:
Hostmaster (Aegir)
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 Jul 2012 at 14:37 UTC
Updated:
20 May 2015 at 11:22 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
berkas1 commentedsame problem here, but I think this is problem of aegir, not the sitemap module....
Comment #2
valkum commentedanything new?
Comment #3
redben commentedAegir problem or xmlsitemap's ?
Comment #4
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 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 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 commentedI have the same problem. No solution yet? My problem is worse because I don't have chown rights.
Comment #9
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 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.