[Dovecot] Permission issues with subscriptions
I am having some permission issues with my setup and I can't see where to make the change in the configuration files.
My users can not create folders at all from their email clients nor from the web interface. I have noticed that each time I try to create a folder the subscriptions files permissions are set to 000. If I go back and reset the permissions to rw-r--r-- then everything is fine until I try to add another folder.
running dovecot -n produces the following: # 1.0.10: /etc/dovecot/dovecot.conf listen: [::] login_dir: /var/run/dovecot/login login_executable: /usr/lib/dovecot/imap-login verbose_proctitle: yes first_valid_uid: 1000 default_mail_env: maildir:/mnt/hd4/MailBoxes/%d/%n mail_location: maildir:/mnt/hd4/MailBoxes/%d/%n umask: 511 auth default: user: nobody passdb: driver: sql args: /etc/dovecot/dovecot-sql.conf userdb: driver: prefetch
I am guessing that Dovecot is the actual process that is creating the folders on the IMAP server, so where inside the configuration file do I set the permissions for the new folders along with the user and groups?
Thanks, -Eric
On Tue, 2008-10-21 at 10:58 -0400, Eric A. Bonney wrote:
My users can not create folders at all from their email clients nor from the web interface. I have noticed that each time I try to create a folder the subscriptions files permissions are set to 000. If I go back and reset the permissions to rw-r--r-- then everything is fine until I try to add another folder.
running dovecot -n produces the following: # 1.0.10: /etc/dovecot/dovecot.conf umask: 511
511 decimal = 0777 = created files have permissions set to 000.
Thanks Timo!
I didn't realize that the umask = 0777 was actually subtracting the digits from the permissions. Once I made the change to this line and we are back to being able to add and delete folders again.
Thanks for the help!
-Eric
On Tuesday 21 October 2008 17:47:32 Timo Sirainen wrote:
On Tue, 2008-10-21 at 10:58 -0400, Eric A. Bonney wrote:
My users can not create folders at all from their email clients nor from the web interface. I have noticed that each time I try to create a folder the subscriptions files permissions are set to 000. If I go back and reset the permissions to rw-r--r-- then everything is fine until I try to add another folder.
running dovecot -n produces the following: # 1.0.10: /etc/dovecot/dovecot.conf umask: 511
511 decimal = 0777 = created files have permissions set to 000.
participants (2)
-
Eric A. Bonney
-
Timo Sirainen