summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrasanna Kumar Kalever <prasanna.kalever@redhat.com>2020-03-26 17:18:47 +0530
committerPrasanna Kumar Kalever <prasanna.kalever@redhat.com>2020-03-26 18:08:53 +0530
commit6e4f39357a90a914d11bac21cc2d2b52c07c213d (patch)
treea9fc01bf72f67c56e0f2392339161fb06df7f847
parent23877ab4afbf0c2fe4092936261d92d7b7fbff11 (diff)
downloadtargetcli-6e4f39357a90a914d11bac21cc2d2b52c07c213d.tar.gz
targetclid.sock: change SocketMode to 0600
SocketMode= If listening on a file system socket or FIFO, this option specifies the file system access mode used when creating the file node. Takes an access mode in octal notation. Defaults to 0666. Thanks Alex Murray[@alexmurray], for reporting. Fixes: #162 Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
-rw-r--r--systemd/targetclid.socket1
1 files changed, 1 insertions, 0 deletions
diff --git a/systemd/targetclid.socket b/systemd/targetclid.socket
index 4730fce..ba29ebb 100644
--- a/systemd/targetclid.socket
+++ b/systemd/targetclid.socket
@@ -4,6 +4,7 @@ Documentation=man:targetclid(8)
[Socket]
ListenStream=/var/run/targetclid.sock
+SocketMode=0600
[Install]
WantedBy=sockets.target