]> git.pld-linux.org Git - packages/mpd.git/commitdiff
don't make /etc/mpd.conf globally readable
authorJan Palus <atler@pld-linux.org>
Sat, 10 Dec 2022 14:25:31 +0000 (15:25 +0100)
committerJan Palus <atler@pld-linux.org>
Sat, 10 Dec 2022 14:25:31 +0000 (15:25 +0100)
might contain passwords and default config is geared towards system
deamon anyway

mpd.spec

index 145db474ece9e63bd2d23e10de05dbbcd58feae9..5eda85035e67dbd2670e234ab97678bab1d5b09e 100644 (file)
--- a/mpd.spec
+++ b/mpd.spec
@@ -320,7 +320,7 @@ fi
 %defattr(644,root,root,755)
 %doc AUTHORS NEWS README.md doc/mpdconf.example
 %attr(755,root,root) %{_bindir}/*
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mpd.conf
+%attr(640,root,mpd) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mpd.conf
 %attr(754,root,root) /etc/rc.d/init.d/mpd
 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/mpd
 %{systemdtmpfilesdir}/%{name}.conf
This page took 0.199007 seconds and 4 git commands to generate.