From 2bfc6cee4077cdfe35f1d2f6525881b4a284ca1e859ce5f0f64c6155e5420231 Mon Sep 17 00:00:00 2001 From: Hillwood Yang Date: Wed, 13 Dec 2023 13:59:18 +0000 Subject: [PATCH] Accepting request 1132886 from home:hillwood:branches:server:proxy - Set permissions as 640 for /etc/shadowsocks (boo#1216372) OBS-URL: https://build.opensuse.org/request/show/1132886 OBS-URL: https://build.opensuse.org/package/show/server:proxy/shadowsocks-libev?expand=0&rev=57 --- shadowsocks-libev.changes | 5 +++++ shadowsocks-libev.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/shadowsocks-libev.changes b/shadowsocks-libev.changes index cfb3c87..96f7da9 100644 --- a/shadowsocks-libev.changes +++ b/shadowsocks-libev.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Dec 13 13:52:10 UTC 2023 - Hillwood Yang + +- Set permissions as 640 for /etc/shadowsocks (boo#1216372) + ------------------------------------------------------------------- Tue Oct 24 06:50:28 UTC 2023 - Hillwood Yang diff --git a/shadowsocks-libev.spec b/shadowsocks-libev.spec index 9abf660..9b43ff5 100644 --- a/shadowsocks-libev.spec +++ b/shadowsocks-libev.spec @@ -172,6 +172,7 @@ getent passwd shadowsocks >/dev/null || %{_sbindir}/useradd --system -c "shadows %service_add_post %{name}-redir@.service %service_add_post %{name}-tunnel@.service chown root:shadowsocks %{_sysconfdir}/shadowsocks -R +chmod 640 %{_sysconfdir}/shadowsocks -R %preun %service_del_preun %{name}-server.service