aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Macku <jamacku@redhat.com>2019-03-29 10:44:13 +0100
committerLukáš Nykrýn <lnykryn@redhat.com>2019-03-29 11:14:20 +0100
commit18bd87189ee99232f05912123dc7aa1e877344bc (patch)
tree9a8cca276e7bf317b948455b2d737100e9df1aea
parentd6f0a195d6330f9ea8141f94be14800c7a0e65bf (diff)
downloadinitscripts-18bd87189ee99232f05912123dc7aa1e877344bc.tar
initscripts-18bd87189ee99232f05912123dc7aa1e877344bc.tar.gz
initscripts-18bd87189ee99232f05912123dc7aa1e877344bc.tar.bz2
initscripts-18bd87189ee99232f05912123dc7aa1e877344bc.tar.xz
initscripts-18bd87189ee99232f05912123dc7aa1e877344bc.zip
Fix file permissions for /var/log/dmesg*
See https://bugzilla.redhat.com/show_bug.cgi?id=1584317 for more info.
-rw-r--r--initscripts.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/initscripts.spec b/initscripts.spec
index fb0bd966..9904e328 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -211,8 +211,8 @@ rm -rf $RPM_BUILD_ROOT
/usr/lib/tmpfiles.d/initscripts.conf
%dir /usr/libexec/initscripts
%dir /usr/libexec/initscripts/legacy-actions
-%ghost %{_localstatedir}/log/dmesg
-%ghost %{_localstatedir}/log/dmesg.old
+%ghost %attr(0644,root,root) %{_localstatedir}/log/dmesg
+%ghost %attr(0644,root,root) %{_localstatedir}/log/dmesg.old
%files -n debugmode
%defattr(-,root,root)