]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
imap-hibernate: Change imap-hibernate default socket permissions to allow default_int...
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Wed, 7 Feb 2018 11:06:06 +0000 (13:06 +0200)
committerVille Savolainen <ville.savolainen@dovecot.fi>
Mon, 12 Mar 2018 08:51:06 +0000 (10:51 +0200)
It would be enough to allow only imap processes access to it, but it
shouldn't really harm to allow other processes access to it also.

src/imap-hibernate/imap-hibernate-settings.c

index dadf77d9e08f717a15685a30a4ce054777335c0b..29847de28af3adf2b1e1246f7571b16e7b688b10 100644 (file)
@@ -10,7 +10,7 @@
 
 /* <settings checks> */
 static struct file_listener_settings imap_hibernate_unix_listeners_array[] = {
-       { "imap-hibernate", 0600, "", "" }
+       { "imap-hibernate", 0660, "", "$default_internal_group" }
 };
 static struct file_listener_settings *imap_hibernate_unix_listeners[] = {
        &imap_hibernate_unix_listeners_array[0]