From 99e0c734aebf63cdeb57557f766a56da482341a6689bbd0caaa725c1e560e2f3 Mon Sep 17 00:00:00 2001 From: Hillwood Yang Date: Wed, 13 Dec 2023 13:58:57 +0000 Subject: [PATCH] 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 --- shadowsocks-rust.changes | 5 +++++ shadowsocks-rust.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/shadowsocks-rust.changes b/shadowsocks-rust.changes index 79caaa8..4579c6e 100644 --- a/shadowsocks-rust.changes +++ b/shadowsocks-rust.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Dec 13 13:55:57 UTC 2023 - Hillwood Yang + +- Set permissions as 640 for /etc/shadowsocks (boo#1216372) + ------------------------------------------------------------------- Sun Dec 3 09:25:05 UTC 2023 - Hillwood Yang diff --git a/shadowsocks-rust.spec b/shadowsocks-rust.spec index c55a764..64ff6d2 100644 --- a/shadowsocks-rust.spec +++ b/shadowsocks-rust.spec @@ -87,6 +87,7 @@ getent passwd shadowsocks >/dev/null || %{_sbindir}/useradd --system -c "shadows %service_add_post %{name}-server.service %service_add_post %{name}-manager.service chown root:shadowsocks %{_sysconfdir}/shadowsocks -R +chmod 640 %{_sysconfdir}/shadowsocks -R %preun %service_del_preun %{name}-client.service