[Dovecot] [PATCH] don't force read bit on base_dir

Max Kellermann max at duempel.org
Mon Dec 18 14:14:47 UTC 2006


Hi,

I would like to disallow dovecot to read its base_dir (mode 0310).
This is currently not possible, because settings_verify() in
src/master/master-settings.c will "fix" the directory mode to
0750.

The following patch for 1.0rc15 ignores the read bit (0444) when
checking the directory permissions.

Max

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dovecot_dont_force_read_on_base_dir.patch
Type: text/x-diff
Size: 782 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20061218/dbf55a51/attachment.bin 


More information about the dovecot mailing list