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

Yum upgrade of Artifactory or RPM upgrade should only change ownership of files that are not owned by "artifactory" user

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Installer, YUM
    • Labels:

      Description

      Yum upgrade of Artifactory or RPM upgrade should only change ownership of files that are not owned by "artifactory" user during the upgrade. Currently the yum installer runs a chown on the entire $ARTIFACTORY_HOME/ folder recursively and since the filestore also exists under the $ARTIFACTORY_HOME/ this can take very long time on Secure Linux systems.

      As the "filestore" contains all the binaries the "chown" can take a long time to complete on secure systems where it is an audited event and generated a lot of syslog messages.

      Instead of running chown recursively to set the "artifactory" user as owner on all files and folders under $ARTIFACTORY_HOME/ we should find the files that are not owned by "artifactory" user and "chown" only those files.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              nihalc@jfrog.com Nihal Reddy Chinna Choudhary
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: