[packages/redis] make local data readable by redis group and revoke access for others

atler atler at pld-linux.org
Sat Sep 3 20:27:25 CEST 2022


commit d3c8224c535a54a3951166cdb0e91bf7beb2bda4
Author: Jan Palus <atler at pld-linux.org>
Date:   Sat Sep 3 20:24:01 2022 +0200

    make local data readable by redis group and revoke access for others

 redis.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/redis.spec b/redis.spec
index 7d23f54..3688e48 100644
--- a/redis.spec
+++ b/redis.spec
@@ -203,10 +203,10 @@ fi
 %attr(755,root,root) %{_bindir}/redis-check-aof
 %attr(755,root,root) %{_bindir}/redis-check-rdb
 %config(noreplace) /etc/logrotate.d/%{name}
-%dir %attr(755,redis,root) %{_localstatedir}/lib/%{name}
-%dir %attr(755,redis,root) %{_localstatedir}/log/%{name}
-%dir %attr(755,redis,root) %{_localstatedir}/log/archive/%{name}
-%dir %attr(755,redis,root) %{_localstatedir}/run/%{name}
+%dir %attr(750,redis,redis) %{_localstatedir}/lib/%{name}
+%dir %attr(750,redis,redis) %{_localstatedir}/log/%{name}
+%dir %attr(750,redis,redis) %{_localstatedir}/log/archive/%{name}
+%dir %attr(750,redis,redis) %{_localstatedir}/run/%{name}
 %if %{with systemd}
 %{systemdtmpfilesdir}/%{name}.conf
 %{systemdunitdir}/%{name}.service
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/redis.git/commitdiff/d3c8224c535a54a3951166cdb0e91bf7beb2bda4



More information about the pld-cvs-commit mailing list