Skip to content

Commit ba79b75

Browse files
committed
IPAFileCheck: also allow 640 for kra debug log
The check ipahealthcheck.ipa.files.IPAFileCheck reports an error with PKI 11.9.1 because this update changed the permissions on /var/log/pki/pki-tomcat/kar/debug.$DATE.log to 0640 instead of 0644. Allow both values as we already do for CA debug log. Fixes: #374 Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
1 parent f3e7a9f commit ba79b75

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/ipahealthcheck/ipa/files.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,8 @@ def check(self):
159159

160160
for globpath in glob.glob("%s/debug*.log" % paths.TOMCAT_KRA_DIR):
161161
self.files.append(
162-
(globpath, constants.PKI_USER, constants.PKI_GROUP, "0644")
162+
(globpath, constants.PKI_USER, constants.PKI_GROUP,
163+
("0644", "0640"))
163164
)
164165

165166
for globpath in glob.glob(

0 commit comments

Comments
 (0)