]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
stats: Change stats-writer default socket permissions to allow default_internal_group
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Wed, 7 Feb 2018 11:05:09 +0000 (13:05 +0200)
committerVille Savolainen <ville.savolainen@dovecot.fi>
Mon, 12 Mar 2018 08:51:06 +0000 (10:51 +0200)
It's important that all dovecot processes can send statistics to the stats
process.

src/stats/stats-settings.c

index 6b1c90bb36fefb285f7e82c4564bf4068e85c76e..854c3b6aa5860ff09469d2e6c6836ff528130cf7 100644 (file)
@@ -11,7 +11,7 @@ static bool stats_metric_settings_check(void *_set, pool_t pool, const char **er
 /* <settings checks> */
 static struct file_listener_settings stats_unix_listeners_array[] = {
        { "stats-reader", 0600, "", "" },
-       { "stats-writer", 0600, "", "" },
+       { "stats-writer", 0660, "", "$default_internal_group" },
 };
 static struct file_listener_settings *stats_unix_listeners[] = {
        &stats_unix_listeners_array[0],