Frank Elsner
2008-Sep-10 09:13 UTC
[Dovecot] 1.2.alpha1: file_dotlock_open() failed with subscription file
Hi *, running dovecot 1.2.alpha1 I find the following messages in the log: Sep 10 01:28:38 seymour dovecot: IMAP(steffen,192.168.28.31): fchown(/home/Mail/steffen/subscriptions.lock) failed: Operation not permitted Sep 10 01:28:38 seymour dovecot: IMAP(steffen,192.168.28.31): file_dotlock_open() failed with subscription file /home/Mail/steffen/subscriptions: Operation not permitted Sep 10 01:28:38 seymour dovecot: IMAP(steffen,192.168.28.31): fchown(/home/Mail/steffen/subscriptions.lock) failed: Operation not permitted Sep 10 01:28:38 seymour dovecot: IMAP(steffen,192.168.28.31): file_dotlock_open() failed with subscription file /home/Mail/steffen/subscriptions: Operation not permitted Sep 10 01:28:52 seymour dovecot: IMAP(steffen,192.168.28.31): fchown(/home/Mail/steffen/subscriptions.lock) failed: Operation not permitted Sep 10 01:28:52 seymour dovecot: IMAP(steffen,192.168.28.31): file_dotlock_open() failed with subscription file /home/Mail/steffen/subscriptions: Operation not permitted File permissions are: -rw------- 1 steffen elsner 124 Aug 22 12:51 /home/Mail/steffen/subscriptions And finally the output of "dovecot -n" reads: # 1.2.alpha1: /usr/local/dovecot/etc/dovecot.conf base_dir: /var/run/dovecot/ ssl_cert_file: /usr/local/etc/seymour.crt ssl_key_file: /usr/local/etc/seymour.key disable_plaintext_auth: no login_dir: /var/run/dovecot//login login_executable: /usr/dovecot/libexec/dovecot/imap-login login_greeting: c64.shuttle.de - Dovecot ready. login_log_format_elements: %u %r %c login_processes_count: 2 verbose_proctitle: yes first_valid_uid: 100 last_valid_uid: 65534 mail_location: maildir:/home/Mail/%u:INDEX=MEMORY maildir_copy_preserve_filename: yes mail_executable: /usr/dovecot/libexec/dovecot/imap mail_plugin_dir: /usr/dovecot/lib/dovecot/imap mail_log_prefix: %Us(%u,%r): mail_log_max_lines_per_sec: 100 imap_client_workarounds: netscape-eoh tb-extra-mailbox-sep imap_logout_format: [%i/%o] auth default: executable: /usr/dovecot/libexec/dovecot/dovecot-auth master_user_separator: / passdb: driver: pam args: dovecot passdb: driver: passwd-file args: /usr/dovecot/etc/masters userdb: driver: passwd plugin: mail_log_events: delete undelete expunge copy mailbox_delete What's behind? Critical? How to solve? Regards, Frank Elsner
Timo Sirainen
2008-Sep-10 18:48 UTC
[Dovecot] 1.2.alpha1: file_dotlock_open() failed with subscription file
On Wed, 2008-09-10 at 11:13 +0200, Frank Elsner wrote:> Sep 10 01:28:38 seymour dovecot: IMAP(steffen,192.168.28.31): fchown(/home/Mail/steffen/subscriptions.lock) failed: Operation not permittedThis'll improve the error message: http://hg.dovecot.org/dovecot-1.2/rev/c22b7db8c173> File permissions are: > > -rw------- 1 steffen elsner 124 Aug 22 12:51 /home/Mail/steffen/subscriptionsWhat about /home/Mail/steffen directory's? It's probably trying to preserve its group. If so, either change the group or chmod g+s it or give mail process permission for that group. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080910/a0003cfb/attachment-0002.bin>
Frank Elsner
2008-Sep-11 07:54 UTC
[Dovecot] 1.2.alpha1: file_dotlock_open() failed with subscription file
On Wed, 10 Sep 2008 21:48:01 +0300 Timo Sirainen wrote:> On Wed, 2008-09-10 at 11:13 +0200, Frank Elsner wrote: > > Sep 10 01:28:38 seymour dovecot: IMAP(steffen,192.168.28.31): fchown(/home/Mail/steffen/subscriptions.lock) failed: Operation not permitted > > This'll improve the error message: > http://hg.dovecot.org/dovecot-1.2/rev/c22b7db8c173 > > > File permissions are: > > > > -rw------- 1 steffen elsner 124 Aug 22 12:51 /home/Mail/steffen/subscriptions > > What about /home/Mail/steffen directory's? It's probably trying to > preserve its group. If so, either change the group or chmod g+s it or > give mail process permission for that group.# ls -dal /home/Mail/steffen drwxr-x--- 19 steffen mail 4096 Sep 10 22:12 /home/Mail/steffen/ --Frank Elsner