Accepting request 1132888 from home:hillwood:branches:server:proxy

- Set permissions as 640 for /etc/shadowsocks (boo#1216372)

OBS-URL: https://build.opensuse.org/request/show/1132888
OBS-URL: https://build.opensuse.org/package/show/server:proxy/shadowsocks-rust?expand=0&rev=20
This commit is contained in:
Hillwood Yang 2023-12-13 13:58:57 +00:00 committed by Git OBS Bridge
parent 78dfd0e80f
commit 99e0c734ae
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Dec 13 13:55:57 UTC 2023 - Hillwood Yang <hillwood@opensuse.org>
- Set permissions as 640 for /etc/shadowsocks (boo#1216372)
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Dec 3 09:25:05 UTC 2023 - Hillwood Yang <hillwood@opensuse.org> Sun Dec 3 09:25:05 UTC 2023 - Hillwood Yang <hillwood@opensuse.org>

View File

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