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

Indexing Conda packages fail when deployed with a user that don't have delete permissions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Affects Version/s: 6.19.0, 6.20.0, 6.19.1
    • Fix Version/s: 6.20.1, 7.6.2, 6.21.0
    • Component/s: None
    • Labels:
      None
    • Severity:
      Critical

      Description

      When deploying a Conda package with a user that have 'deploy' permissions but doesn't have 'delete' permission the error below appears in the logs.
      Since once deploying a Conda package, a '_tmp' folder is created under the Conda repository with the files current_repodata.json & repodata.json in it which are later copied directly under the Conda repository. But once deployed with a user that does not have 'delete' permissions, these files can not be moved.

      2020-06-23 13:36:54,568 [art-exec-177] [ERROR] (o.a.r.s.m.BaseRepoPathMover:453) - User doesn't have permissions to move 'conda-local:_tmp-repodata-1592919413656-c75b5863-072b-46fa-84a6-34a740202d84/repodata.json'. Needs delete permissions.
      

      Steps to reproduce:
      1. set up a Conda repository using the "Quick Setup"
      2. create a user with 'deploy' permissions but without 'delete' permission
      3. use the above user to deploy a Conda package to the Conda repository
      4. notice the mentioned error in artifactory.log
      5. deploy a Conda package with an admin user (/ a user that have 'delete' permissions) and noticed that the above error is not reproduced

        Attachments

          Activity

              People

              Assignee:
              omriz Omri Ziv
              Reporter:
              shaniat Shani Attias
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Sync Status

                  Connection: RTFACT Sync
                  RTMID-22590 -
                  SYNCHRONIZED
                  • Last Sync Date: