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

The Artifactory Deb script is missing a test

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Affects Version/s: 4.7.1
    • Fix Version/s: 4.8.1
    • Component/s: Installer
    • Labels:
      None
    • Environment:

      Ubuntu 14.04

    • Severity:
      High

      Description

      In the Artifactory Deb distribution script we test to see if there is already an artifactory user:group and if it exists then it will use this pre-configured user:group
      However, if for some reason the user:group was defined as 'nobody (UID:GID == 65534), then the script will try to add this user which is a pre-defined user/group

      line 34 of the script == [ -e /etc/opt/jfrog/artifactory ] && read uid gid <<<$(stat -c '%u %g' /etc/opt/jfrog/artifactory)

      line 40 of the script == /usr/sbin/groupadd -r artifactory ${gid:+-g} $gid|| exit $?

        Attachments

          Activity

              People

              Assignee:
              ronnyn Ronny Niv
              Reporter:
              eranb Eran Blumenthal
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: