Set access mode of askuser-notification socket files to 0777 29/122829/2
authorRafal Krypa <r.krypa@samsung.com>
Mon, 3 Apr 2017 13:12:44 +0000 (15:12 +0200)
committerRafal Krypa <r.krypa@samsung.com>
Mon, 3 Apr 2017 16:07:11 +0000 (18:07 +0200)
The socket files are created in /run/user_ext/UID/ directory. It is accessible
to the owner (UID) and system_share group.
Allowing full access to the socket files will make them accessible to members
of system_share group. This is needed to allow access from the context of
cynara service daemon.

Change-Id: I61ad34bca03a87dc317d04b0a704b1d3bf892c5d
Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
systemd/askuser-notification-datagram.socket
systemd/askuser-notification-stream.socket

index bef0569793af37ceedc86106fd4e12591d84e8ca..924250c7a26ff98862a382c4d733fd7a7483d269 100644 (file)
@@ -1,6 +1,6 @@
 [Socket]
 ListenDatagram=/run/user_ext/%U/askuser-notification-datagram.socket
-SocketMode=0770
+SocketMode=0777
 
 Service=askuser-notification.service
 
index 263a64a6e1028fc0db8f1c72044eac29788d4be8..2e932e0e7c611441443d5ecbe7e1475de652c81a 100644 (file)
@@ -1,6 +1,6 @@
 [Socket]
 ListenStream=/run/user_ext/%U/askuser-notification-stream.socket
-SocketMode=0770
+SocketMode=0777
 
 Service=askuser-notification.service