]> git.pld-linux.org Git - packages/grub2.git/commitdiff
Don't allow anyone else to read these configs (they can contain passwords)
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 12 Jul 2023 07:34:43 +0000 (09:34 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 12 Jul 2023 07:34:43 +0000 (09:34 +0200)
grub2.spec

index 31380d3edd5bb19943a64c6d55f97aeb696fdfa2..9a301f95ac9a046e2a5eb5b92ddfba5ecae23e21 100644 (file)
@@ -745,8 +745,8 @@ fi
 # XXX: check this locale dir location and if it is neccesaary to exist on /boot
 
 %dir %{_libexecdir}/locale
-%config(noreplace) %verify(not md5 mtime size) %{_grubdir}/grub.cfg
-%config(noreplace) %verify(not md5 mtime size) %{_grubdir}/custom.cfg
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_grubdir}/grub.cfg
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_grubdir}/custom.cfg
 
 # generated by grub at runtime
 %ghost %{_grubdir}/device.map
This page took 0.149965 seconds and 4 git commands to generate.