[packages/mpd] don't make /etc/mpd.conf globally readable
atler
atler at pld-linux.org
Sat Dec 10 15:26:59 CET 2022
commit 92ef1181c11cc86c7427986a89a1b2688edff22f
Author: Jan Palus <atler at pld-linux.org>
Date: Sat Dec 10 15:25:31 2022 +0100
don't make /etc/mpd.conf globally readable
might contain passwords and default config is geared towards system
deamon anyway
mpd.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/mpd.spec b/mpd.spec
index 145db47..5eda850 100644
--- 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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mpd.git/commitdiff/92ef1181c11cc86c7427986a89a1b2688edff22f
More information about the pld-cvs-commit
mailing list