[Dovecot] Feature request - umask for index files
I'd like a separate feature for setting umask for index and cache files differently from email files.
The reason is that I'm putting indexes in a separate location and I need group create rights in directories. Otherwise what happens is that the first user creates the directories, but the second user for the domain that has a different UID gets an error.
default_mail_env = mbox:/vhome/%d/home/%n:INBOX=/vhome/%d/home/%n/INBOX:INDEX=/nobackup/imap-index/%d/%n
-- Marc Perkel - marc@perkel.com
Spam Filter: http://www.junkemailfilter.com My Blog: http://marc.perkel.com
On Mon, 2005-08-01 at 11:03 -0700, Marc Perkel wrote:
I'd like a separate feature for setting umask for index and cache files differently from email files.
The reason is that I'm putting indexes in a separate location and I need group create rights in directories. Otherwise what happens is that the first user creates the directories, but the second user for the domain that has a different UID gets an error.
default_mail_env = mbox:/vhome/%d/home/%n:INBOX=/vhome/%d/home/%n/INBOX:INDEX=/nobackup/imap-index/%d/%n
How about ensuring all users within a domain are in a particular group and then chmod g+ws the imap-index directory?
-- Karl Latiss karl.latiss@atvert.com.au Atvert Systems
Karl Latiss wrote:
On Mon, 2005-08-01 at 11:03 -0700, Marc Perkel wrote:
I'd like a separate feature for setting umask for index and cache files differently from email files.
The reason is that I'm putting indexes in a separate location and I need group create rights in directories. Otherwise what happens is that the first user creates the directories, but the second user for the domain that has a different UID gets an error.
default_mail_env = mbox:/vhome/%d/home/%n:INBOX=/vhome/%d/home/%n/INBOX:INDEX=/nobackup/imap-index/%d/%n
How about ensuring all users within a domain are in a particular group and then chmod g+ws the imap-index directory?
I'd have to run something special every time I created a new domain. So I'd like to avoid that.
-- Marc Perkel - marc@perkel.com
Spam Filter: http://www.junkemailfilter.com My Blog: http://marc.perkel.com
participants (2)
-
Karl Latiss
-
Marc Perkel