Glenn Leavell
2007-Jan-10 21:56 UTC
[Dovecot] RC15 problems with dovecot-shared and umask distilled
I recently posted about problems I've been having with dovecot-shared and umask in RC15 (using Solaris 9). I've now been able to distill what I'm experiencing into these two separate points: 1. dovecot-uidlist and message files never inherit the dovecot-shared group 2. With umask=0007 these files are created with mode 600 instead of 660: dovecot-uidlist, dovecot.index, dovecot.index.log, messages files (cur,tmp,new and the parent directory *are* created 770) (With regard to #1, I originally posted that individual message files were also not inheriting *permissions* from dovecot-shared, but that turned out to be a case of copying a message with maildir_copy_with_hardlinks = yes.) I can duplicate this consistently; can anyone else? Or has this been fixed in RC16/17? Thanks, Glenn
Timo Sirainen
2007-Jan-18 17:38 UTC
[Dovecot] RC15 problems with dovecot-shared and umask distilled
On Wed, 2007-01-10 at 16:56 -0500, Glenn Leavell wrote:> 2. With umask=0007 these files are created with mode 600 instead of 660: > dovecot-uidlist, dovecot.index, dovecot.index.log, messages files > (cur,tmp,new and the parent directory *are* created 770)The reason why umask doesn't work correctly is because I've avoided adding code that creates everything with permissions 0666 or 0777. I'm not really sure if I just should do it, or if I should figure out something else. In any case I'd rather not do anything about this to v1.0. Why do you want to change the umask? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20070118/8c259b3b/attachment.bin>