Skip to content

Commit

Permalink
Merge pull request #5755 from yuumasato/rpm_verify_permissions_warning
Browse files Browse the repository at this point in the history
Warn about findings from rpm_verify_permissions and rpm_verify_ownership

(cherry picked from commit 23af201)
  • Loading branch information
matejak authored and vojtapolasek committed May 15, 2020
1 parent dc87878 commit 9623539
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,13 @@ ocil: |-
is expected by the RPM database:
<pre>$ rpm -Va | rpm -Va --nofiledigest | awk '{ if (substr($0,6,1)=="U" || substr($0,7,1)=="G") print $NF }'</pre>
{{% if product == "rhel6" %}}
warnings:
- general: |-
Profiles may require that specific files be owned by root while the default owner defined
by the vendor is different.
Such files will be reported as a finding and need to be evaluated according to your policy
and deployment environment.
{{% if product == "rhel6" %}}
- general: |-
<b>Note: Due to a bug in the <tt>gdm</tt> package,
the RPM verify command may continue to fail even after file permissions have
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,13 @@ ocil: |-
is expected by the RPM database:
<pre>$ rpm -Va | awk '{ if (substr($0,2,1)=="M") print $NF }'</pre>
{{% if product == "rhel6" %}}
warnings:
- general: |-
Profiles may require that specific files have stricter file permissions than defined by the
vendor.
Such files will be reported as a finding and need to be evaluated according to your policy
and deployment environment.
{{% if product == "rhel6" %}}
- general: |-
<b>Note: Due to a bug in the <tt>gdm</tt> package,
the RPM verify command may continue to fail even after file permissions have
Expand Down

0 comments on commit 9623539

Please sign in to comment.