Blame SOURCES/scap-security-guide-0.1.37-disable-check-libexec_ownership.patch

0950b5
From 6f502074053282dd3afbb5ed1594fbbd524c9bc6 Mon Sep 17 00:00:00 2001
0950b5
From: Gabe <redhatrises@gmail.com>
0950b5
Date: Fri, 8 Dec 2017 11:34:50 -0700
0950b5
Subject: [PATCH] Do not check library ownership in libexec
0950b5
0950b5
- Fixes #2473
0950b5
---
0950b5
 shared/checks/oval/file_ownership_library_dirs.xml | 2 +-
0950b5
 1 file changed, 1 insertion(+), 1 deletion(-)
0950b5
0950b5
diff --git a/shared/checks/oval/file_ownership_library_dirs.xml b/shared/checks/oval/file_ownership_library_dirs.xml
0950b5
index 41394a01e..186c99012 100644
0950b5
--- a/shared/checks/oval/file_ownership_library_dirs.xml
0950b5
+++ b/shared/checks/oval/file_ownership_library_dirs.xml
0950b5
@@ -34,7 +34,7 @@
0950b5
 
0950b5
   <unix:file_object comment="library files" id="object_file_ownership_lib_files" version="1">
0950b5
     
0950b5
-    <unix:path operation="pattern match">^\/lib(|64)|^\/usr\/lib(|64)</unix:path>
0950b5
+    <unix:path operation="pattern match">^\/lib(|64)\/|^\/usr\/lib(|64)\/</unix:path>
0950b5
     <unix:filename operation="pattern match">^.*$</unix:filename>
0950b5
    <filter action="include">state_owner_libraries_not_root</filter>
0950b5
   </unix:file_object>