Blame SOURCES/0004-targetclid.sock-change-SocketMode-to-0600.patch

a135b2
From 6e4f39357a90a914d11bac21cc2d2b52c07c213d Mon Sep 17 00:00:00 2001
a135b2
From: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
a135b2
Date: Thu, 26 Mar 2020 17:18:47 +0530
a135b2
Subject: [PATCH] targetclid.sock: change SocketMode to 0600
a135b2
a135b2
SocketMode=
a135b2
If listening on a file system socket or FIFO, this option specifies the
a135b2
file system access mode used when creating the file node. Takes an
a135b2
access mode in octal notation. Defaults to 0666.
a135b2
a135b2
Thanks Alex Murray[@alexmurray], for reporting.
a135b2
a135b2
Fixes: #162
a135b2
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
a135b2
---
a135b2
 systemd/targetclid.socket | 1 +
a135b2
 1 file changed, 1 insertion(+)
a135b2
a135b2
diff --git a/systemd/targetclid.socket b/systemd/targetclid.socket
a135b2
index 4730fce..ba29ebb 100644
a135b2
--- a/systemd/targetclid.socket
a135b2
+++ b/systemd/targetclid.socket
a135b2
@@ -4,6 +4,7 @@ Documentation=man:targetclid(8)
a135b2
 
a135b2
 [Socket]
a135b2
 ListenStream=/var/run/targetclid.sock
a135b2
+SocketMode=0600
a135b2
 
a135b2
 [Install]
a135b2
 WantedBy=sockets.target
a135b2
-- 
a135b2
2.21.0
a135b2