[Dovecot] umask 007 ineffective with newly created Maildir message

Steve James s.james at bigfoot.com
Wed Dec 20 16:07:34 UTC 2006


This is for Dovecot 1.0.rc15 from Debian Backports on 3.1 Stable, x86; 
Filesystems are local reiserfs; IMAPs client is KMail 1.9.5

Non-default settings in dovecot.conf:

  protocols = imaps
  ssl_cert_file = /etc/dovecot/mail.cert.pem
  ssl_key_file  = /etc/dovecot/mail.key.pem
  mail_location = maildir:/var/mail/ambrosia.plus.com/%n
  mail_extra_groups = mail
  first_valid_uid = 1000
  first_valid_gid = 1000
  umask = 007
  maildir_copy_with_hardlinks = yes


To reproduce:-
  1. Using your IMAP client with two IMAP accounts, copy a message from a 
folder in one account, to a folder in the other account
  2. See that the newly created message file is -rw-------

If a message is moved between folders on the _same_ account, however, the 
group permissions are preserved (ie not masked off). So it seems that the 
umask option is ineffective when the imap daemon creates a new maildir 
message file.

Thanks,
Steve.

-- 
BOFH excuse #400:

We are Microsoft.  What you are experiencing is not a problem; it is an 
undocumented feature.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20061220/65894c28/attachment.pgp 


More information about the dovecot mailing list