[Dovecot] who owns dovecot files and dirs?
...and what permissions should they have. I am thinking of /var/run/dovecot and the index directory. What ownership, group and permissions should they be? Are there any other files/dirs created for dovecot alone (not the mail folders and INBOXes); if so, how should they be owned and permed? I had thought they were to be owned by dovecot, but it turns out that they should not
--
Stewart Dean, Unix System Admin, Henderson Computer Resources
Center of Bard College, Annandale-on-Hudson, New York 12504
sdean@bard.edu voice: 845-758-7475, fax: 845-758-7035
On 29.3.2007, at 22.50, Stewart Dean wrote:
Dovecot opens pretty much all the configuration etc. files as root
before dropping the privileges. So in general they could all be 0600
owned by root. I don't think you should worry about that though. /var/
run/dovecot usually gets deleted at boot and Dovecot recreates them,
so whatever permission changes you do to it they'll get erased
anyway. /var/lib/dovecot then is currently created 0700, but it only
contains ssl-parameters.dat which is public data.
participants (2)
-
Stewart Dean
-
Timo Sirainen