]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
dict: Change dict and dict-async default socket permissions to allow default_internal...
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Wed, 7 Feb 2018 11:04:03 +0000 (13:04 +0200)
committerVille Savolainen <ville.savolainen@dovecot.fi>
Mon, 12 Mar 2018 08:51:06 +0000 (10:51 +0200)
Many mail processes need to talk to dict. This makes it easier to enable
dict without having to configure permissions.

src/dict/dict-settings.c

index b4a476c56dbe6a20ab58169e0f9f979539ca62f0..38a4366823fb1392ffc345d13b3738b4a0b84027 100644 (file)
@@ -8,7 +8,7 @@
 
 /* <settings checks> */
 static struct file_listener_settings dict_unix_listeners_array[] = {
-       { "dict", 0600, "", "" }
+       { "dict", 0660, "", "$default_internal_group" }
 };
 static struct file_listener_settings *dict_unix_listeners[] = {
        &dict_unix_listeners_array[0]
@@ -18,7 +18,7 @@ static buffer_t dict_unix_listeners_buf = {
 };
 
 static struct file_listener_settings dict_async_unix_listeners_array[] = {
-       { "dict-async", 0600, "", "" }
+       { "dict-async", 0660, "", "$default_internal_group" }
 };
 static struct file_listener_settings *dict_async_unix_listeners[] = {
        &dict_async_unix_listeners_array[0]