From 806bfbf2f1d1311e7bcf64ce074f16aef3160a40 Mon Sep 17 00:00:00 2001 From: Martin Osvald Date: Mon, 10 Mar 2025 13:35:47 +0100 Subject: [PATCH] Fix file permissions and do not verify digest, file size and modification time Resolves: RHEL-92548 --- rootfiles.spec | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/rootfiles.spec b/rootfiles.spec index fd1b973..41b15e1 100644 --- a/rootfiles.spec +++ b/rootfiles.spec @@ -1,7 +1,7 @@ Summary: The basic required files for the root user's directory Name: rootfiles Version: 8.1 -Release: 34%{?dist} +Release: 35%{?dist} License: Public Domain # This is a Red Hat maintained package which is specific to @@ -49,13 +49,17 @@ done %dir %{ROOTFILES_DIR} %{ROOTFILES_DIR}/.[A-Za-z]* %{_tmpfilesdir}/rootfiles.conf -%ghost /root/.bash_logout -%ghost /root/.bash_profile -%ghost /root/.bashrc -%ghost /root/.cshrc -%ghost /root/.tcshrc +%ghost %verify(not md5 size mtime) %attr(0644,root,root) /root/.bash_logout +%ghost %verify(not md5 size mtime) %attr(0644,root,root) /root/.bash_profile +%ghost %verify(not md5 size mtime) %attr(0644,root,root) /root/.bashrc +%ghost %verify(not md5 size mtime) %attr(0644,root,root) /root/.cshrc +%ghost %verify(not md5 size mtime) %attr(0644,root,root) /root/.tcshrc %changelog +* Wed May 21 2025 Martin Osvald - 8.1-35 +- Fix file permissions and do not verify digest, file size + and modification time (RHEL-92548) + * Wed Feb 12 2025 Martin Osvald - 8.1-34 - Comment out empty if clause to prevent shell error (RHEL-58760)