I had no any permission targets related to repositories. After adding one (for all repositories: "any local" + "any remote") and defining permissions so that "anonymous" can deploy to any repository - it all works now.
Attached are two set of backup config files: 20091010.130000 - from v2.0.8 20091017.130000 - from v2.1 http://www.nabble.com/file/p25966824/20091010.130000.ZIP 20091010.130000.ZIP http://www.nabble.com/file/p25966824/20091017.130000.ZIP 20091017.130000.ZIP Yoav Landman-3 wrote: > > This means you have a 'repo1' remote repository defined and the user > 'anonymous' is lacking privileges to populate it. For users to be able to > populate caches they must have 'deploy' permissions on the relevant cache, > so that one can create remote repositories that can only be populated by a > restricted group of people, but read by anyone. > > In 2.1 the 'anonymous' user is a fully permission-managed user. You have > to > make sure that in one of the permission targets (the default bundled one > is > called 'Any Remote') that includes the cache of the repo1 remote > repository > ('repo1-cache') you have assigned 'anonymous' with a 'deploy' permission. > > The automatic upgrade process should have turned this on by default for > anonymous, so if it didn't I would appreciate if you could mail me your > previous sanitized config so that we can check that the upgrade properly > maintains the anonymous user privileges. > > Thanks, > > Yoav > > > On Fri, Oct 16, 2009 at 12:02 AM, Evgeny Goldin <[email protected]> wrote: > >> >> Hi, >> >> Having the following plugin in our POM >> >> <groupId>org.apache.maven.plugins</groupId> >> <artifactId>maven-eclipse-plugin</artifactId> >> <version>2.7</version> <=== was >> "2.5.1" before >> >> retrieving it with Artifactory 2.1 fails (although it's >> >> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-eclipse-plugin/2.7/ >> available ). >> >> When I open >> http:// >> <artifactory>/<virtual-repo>/org/apache/maven/plugins/maven-eclipse-plugin/2.7/maven-eclipse-plugin-2.7.pom >> in browser I get: >> >> java.io.IOException: User anonymous is not permitted to deploy >> >> 'org/apache/maven/plugins/maven-eclipse-plugin/2.7/maven-eclipse-plugin-2.7.pom' >> into >> >> 'repo1-cache:org/apache/maven/plugins/maven-eclipse-plugin/2.7/maven-eclipse-plugin-2.7.pom'. >> >> >> org.artifactory.repo.RemoteRepoBase.downloadAndSave(RemoteRepoBase.java:331) >> >> >> org.artifactory.repo.service.RepositoryServiceImpl.downloadAndSave(RepositoryServiceImpl.java:1424) >> >> Why is it so ? Is it configurable ? Couldn't find anything about >> "repo1-cache" in user guide, Artifactory itself or "repo1" repository >> configuration. >> >> Thank you! >> >> >> >> >> ----- >> -- >> Best regards, >> Evgeny >> http://evgeny-goldin.com/ >> >> -- >> View this message in context: >> http://www.nabble.com/User-anonymous-is-not-permitted-to-deploy-into-%27repo1-cache%27---tp25916782p25916782.html >> Sent from the Artifactory-Users mailing list archive at Nabble.com. >> >> >> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart your >> developing skills, take BlackBerry mobile applications to market and stay >> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >> http://p.sf.net/sfu/devconference >> _______________________________________________ >> Artifactory-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/artifactory-users >> > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Artifactory-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/artifactory-users > > ----- -- Best regards, Evgeny http://evgeny-goldin.com/ -- View this message in context: http://www.nabble.com/User-anonymous-is-not-permitted-to-deploy-into-%27repo1-cache%27---tp25916782p25966824.html Sent from the Artifactory-Users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Artifactory-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/artifactory-users
