[ http://jira.codehaus.org/browse/MNGSITE-61?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann closed MNGSITE-61. ------------------------------------ Resolution: Won't Fix Assignee: Benjamin Bentmann Rsync is no longer recommended for repo access. > mirror sync: rsync improvements > ------------------------------- > > Key: MNGSITE-61 > URL: http://jira.codehaus.org/browse/MNGSITE-61 > Project: Maven 2 Project Web Site > Issue Type: Bug > Environment: Linux, but probably other unix-like systems as well > Reporter: Jørgen Wahlberg > Assignee: Benjamin Bentmann > > After having problems fetching artifacts from my private maven 2 repository > mirror, I discovered that I had no read permission for asm:asm:pom:3.1 > After cursing a bit and debugging some more, I disovered that only owner and > group were allowed to enter the directory .../asm/asm/3.1/ in my file system. > I then disovered that the rsync suggested in > http://maven.apache.org/guides/mini/guide-mirror-settings.html have a > deficiency: it will not change the permissions of files and directories after > they have been downloaded. In this case, I suspect that the directory was set > to permissions 750 (or similar) the first time it was downloaded to my mirror > and then later changed to 775. > Fix: change the suggested rsync command to > rsync -v -p -t -l -r mirrors.ibiblio.org::maven2 /your/local/path > (notice the -p switch), or suggest using a > chmod -R a+rX /your/local/path > after doing the rsync. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira