Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-12745

"Lacking annotate permissions" errors with debian repos during system import

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: 4.13.2, 4.14.0
    • Fix Version/s: None
    • Component/s: Debian
    • Labels:
      None

      Description

      When performing a full system import that includes some debian repos, post-import metadata calculation should annotate the Artifact with the various deb.* props. However, this produces errors that can be seen on the artifactory.log during the import:

      2016-10-30 17:09:30,898 [art-exec-115] [ERROR] (o.a.r.s.RepositoryServiceImpl:1062) Cannot set 'Properties' on 'debian-local:a2ps_4.14-1.1+deb7u1_amd64.deb': lacking annotate permissions.

      When executing:
      curl -uadmin:password "http://localhost:8080/artifactory/debian-local/a2ps_4.14-1.1+deb7u1_amd64.deb?properties"

      It seems like all props are in fact there, so this appears to be red herring rather than a real problem, but we should still fix this.

      Reproduction steps are:
      1.Full system export after uploading some .deb files to a debian repo
      2.Full system import from that export - observe the log and look for the above mentioned error

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              uriahl Uriah Levy
            • Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: