Description: --------------- Exporting Foreman templates in /tmp directory works but without access permissions(foreman user as owner of the directory and no selinux context). It doesn't throw and error as expected. Versions: --------------- Satellite 6.7 snap 3 How repro: --------------- Always Steps: --------------- 1. Go to Hosts -> Templates -> sync templates. 2. Attempt to export in '/tmp' directory by setting 'Repo' option to 'tmp' and all the required export options. Actual Behavior: ------------------- 1. The templates are exported to /tmp directory without foreman being the owner of the dir and no selinux contests to that have permissions to access the dir. Expected Behavior: ---------------------- The export to /tmp dir should not be allowed/success until it has foreman user as owner and correct selinux contest.
Created redmine issue https://projects.theforeman.org/issues/28467 from this bug
Upstream bug assigned to oprazak
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/28467 has been resolved.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:1454