From 3900e5fdff688dc3c273f177d9d913b7389d5561 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 5 Jun 2014 09:55:53 +0200 Subject: socket: add SocketUser= and SocketGroup= for chown()ing sockets in the file system This is relatively complex, as we cannot invoke NSS from PID 1, and thus need to fork a helper process temporarily. --- man/systemd.socket.xml | 38 ++++++++++++++++++++++++++++---------- 1 file changed, 28 insertions(+), 10 deletions(-) (limited to 'man/systemd.socket.xml') diff --git a/man/systemd.socket.xml b/man/systemd.socket.xml index f65704d67b..b3607a8b63 100644 --- a/man/systemd.socket.xml +++ b/man/systemd.socket.xml @@ -372,16 +372,21 @@ - DirectoryMode= - If listening on a file - system socket or FIFO, the parent - directories are automatically created - if needed. This option specifies the - file system access mode used when - creating these directories. Takes an - access mode in octal - notation. Defaults to - 0755. + SocketUser= + SocketGroup= + + Takes a UNIX + user/group name. When specified + all AF_UNIX sockets and FIFO nodes in + the file system are owned by the + specified user and group. If unset + (the default), the nodes are owned by + the root user/group (if run in system + context) or the invoking user/group + (if run in user context). If only a + user is specified but no group, then + the group is derived from the user's + default group. @@ -395,6 +400,19 @@ 0666. + + DirectoryMode= + If listening on a file + system socket or FIFO, the parent + directories are automatically created + if needed. This option specifies the + file system access mode used when + creating these directories. Takes an + access mode in octal + notation. Defaults to + 0755. + + Accept= Takes a boolean -- cgit v1.2.3-54-g00ecf