Ana Guerrero 2023-12-13 17:36:48 +00:00 committed by Git OBS Bridge
commit 7b8aceb78e
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Dec 13 13:52:10 UTC 2023 - Hillwood Yang <hillwood@opensuse.org>
- Set permissions as 640 for /etc/shadowsocks (boo#1216372)
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Oct 24 06:50:28 UTC 2023 - Hillwood Yang <hillwood@opensuse.org> Tue Oct 24 06:50:28 UTC 2023 - Hillwood Yang <hillwood@opensuse.org>

View File

@ -172,6 +172,7 @@ getent passwd shadowsocks >/dev/null || %{_sbindir}/useradd --system -c "shadows
%service_add_post %{name}-redir@.service %service_add_post %{name}-redir@.service
%service_add_post %{name}-tunnel@.service %service_add_post %{name}-tunnel@.service
chown root:shadowsocks %{_sysconfdir}/shadowsocks -R chown root:shadowsocks %{_sysconfdir}/shadowsocks -R
chmod 640 %{_sysconfdir}/shadowsocks -R
%preun %preun
%service_del_preun %{name}-server.service %service_del_preun %{name}-server.service