Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-40481

IoP fails to display the UI when access rights are incorrect in assets/apps

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • Insights - Advisor
    • False
    • sat-proton
    • None
    • None
    • None
    • None

      Description of problem:

      The Advisor and Vulnerabilities page fails to load if others do not have read access to the files in /var/lib/foreman/public/assets/apps/*

       

      How reproducible:

       

      Is this issue a regression from an earlier version:

      No

       

      Steps to Reproduce:

      1. Start with Satellite default installation without IoP enabled

      2. Set default umask from 022 to 002 in /etc/login.defs

      3. Enable IoP with satellite-installer --enable-iop

       

      Actual behavior:

      The dynamic files in /var/lib/foreman/public/assets/apps/* are owned by root:root and 750 for directories.

      These files are inaccessible to the web server

       

      Expected behavior:
      Dynamic files in /var/lib/foreman/public/assets/apps/* should be owned by foreman:foreman to always have access to the files.

       

      Business Impact / Additional info:

       

              Unassigned Unassigned
              rhn-support-smeyer Stefan Meyer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: