[Dovecot] BUG: messages created with permissions not respecting umask
Thomas Vander Stichele
thomas at apestaart.org
Tue Dec 19 09:45:57 UTC 2006
Using dovecot 1.0rc15, together with postfix and dovecot-lda.
umask is set to 0007. This should ensure directories and files get
created with read/write permissions for both user and group.
However, dovecot-lda writes files with 600 permissions, instead of 660.
So dovecot does not seem to respect the umask configuration property for
local mail delivery.
In my particular case, I have vmail:vmail own the mail directories, and
a backup user part of the vmail group. However the backup user cannot
read the mails and thus back them up properly.
Suggestions:
- respect the umask for file delivery as well
- alternatively, take the parent directory's permissions, strip
executable bits, and apply to file
Thanks
Thomas
More information about the dovecot
mailing list