From: Rafal Krypa Date: Mon, 3 Apr 2017 13:12:44 +0000 (+0200) Subject: Set access mode of askuser-notification socket files to 0777 X-Git-Tag: submit/tizen/20170405.143506~25 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=67a8c3c83b957a90bf1c67fce5a61fc6f668b2ab;p=platform%2Fcore%2Fsecurity%2Faskuser.git Set access mode of askuser-notification socket files to 0777 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 --- diff --git a/systemd/askuser-notification-datagram.socket b/systemd/askuser-notification-datagram.socket index bef0569..924250c 100644 --- a/systemd/askuser-notification-datagram.socket +++ b/systemd/askuser-notification-datagram.socket @@ -1,6 +1,6 @@ [Socket] ListenDatagram=/run/user_ext/%U/askuser-notification-datagram.socket -SocketMode=0770 +SocketMode=0777 Service=askuser-notification.service diff --git a/systemd/askuser-notification-stream.socket b/systemd/askuser-notification-stream.socket index 263a64a..2e932e0 100644 --- a/systemd/askuser-notification-stream.socket +++ b/systemd/askuser-notification-stream.socket @@ -1,6 +1,6 @@ [Socket] ListenStream=/run/user_ext/%U/askuser-notification-stream.socket -SocketMode=0770 +SocketMode=0777 Service=askuser-notification.service