[RTFACT-16594] Yum upgrade of Artifactory or RPM upgrade should only change ownership of files that are not owned by "artifactory" user Created: 04/May/18  Updated: 31/May/19

Status: Open
Project: Artifactory Binary Repository
Component/s: Installer, YUM
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Normal
Reporter: Nihal Reddy Chinna Choudhary Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: artifactory


 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.


Generated at Wed Jul 24 06:58:21 UTC 2019 using JIRA 7.6.3#76005-sha1:8a4e38d34af948780dbf52044e7aafb13a7cae58.