]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
ipc: Change ipc socket's owner to $default_internal_user
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Wed, 7 Feb 2018 14:48:28 +0000 (16:48 +0200)
committerVille Savolainen <ville.savolainen@dovecot.fi>
Mon, 12 Mar 2018 08:28:59 +0000 (10:28 +0200)
This is mainly used by director process, which runs as
$default_internal_user. This setting change is always required for director
installations. Also the ipc process itself is already running as
$default_internal_user so this should be a rather safe change.

src/ipc/ipc-settings.c

index 5faba25cdb487abd0aa0493d06dfedfe48105b40..d1610d62527c3f541dbed5aecbb3ee1288b678c2 100644 (file)
@@ -9,7 +9,7 @@
 
 /* <settings checks> */
 static struct file_listener_settings ipc_unix_listeners_array[] = {
-       { "ipc", 0600, "", "" },
+       { "ipc", 0600, "$default_internal_user", "" },
        { "login/ipc-proxy", 0600, "$default_login_user", "" }
 };
 static struct file_listener_settings *ipc_unix_listeners[] = {