[Dovecot] Filed to write auth token secret file

Chris Vaas chrisvaas at gmail.com
Wed May 28 23:09:47 UTC 2014


May I also ask you for the permissions on the parent folder?
/var/run/dovecot

Thanks!


On Thu, May 29, 2014 at 1:07 AM, Larry Rosenman <larryrtx at gmail.com> wrote:

> Here is the entire contents of mine.
>
> drwxr-xr-x   5 root     wheel     35 May 27 21:01 .
> drwxr-xr-x  14 root     wheel     35 May 28 03:01 ..
> srw-------   1 root     wheel      0 May 24 14:12 anvil
> srw-------   1 root     wheel      0 May 24 14:12 anvil-auth-penalty
> srw-rw-rw-   1 dovecot  wheel      0 May 27 21:01 auth-client
> srw-------   1 dovecot  wheel      0 May 27 21:01 auth-login
> srw-rw-rw-   1 root     wheel      0 May 27 21:01 auth-master
> -rw-------   1 root     wheel     32 May 24 14:12 auth-token-secret.dat
> srw-rw-rw-   1 dovecot  wheel      0 May 27 21:01 auth-userdb
> srw-------   1 dovecot  wheel      0 May 27 21:01 auth-worker
> srw-------   1 root     wheel      0 May 27 21:01 config
> srw-------   1 root     wheel      0 May 27 21:01 dict
> srw-------   1 root     wheel      0 May 27 21:01 director-admin
> srw-------   1 root     wheel      0 May 27 21:01 director-userdb
> srw-rw-rw-   1 root     wheel      0 May 27 21:01 dns-client
> srw-------   1 root     wheel      0 May 27 21:01 doveadm-server
> lrwx------   1 root     wheel     35 May 24 14:12 dovecot.conf ->
> /usr/local/etc/dovecot/dovecot.conf
> drwxr-xr-x   2 root     wheel      2 May 24 14:12 empty
> srw-rw-rw-   1 root     wheel      0 May 27 21:01 imap-urlauth
> srw-------   1 dovecot  wheel      0 May 27 21:01 imap-urlauth-worker
> srw-rw-rw-   1 root     wheel      0 May 27 21:01 indexer
> srw-------   1 dovecot  wheel      0 May 27 21:01 indexer-worker
> srw-------   1 root     wheel      0 May 27 21:01 ipc
> srw-rw-rw-   1 root     wheel      0 May 27 21:01 lmtp
> srw-------   1 root     wheel      0 May 27 21:01 log-errors
> drwxr-x---   2 root     dovenull   9 May 27 21:01 login
> -rw-------   1 root     wheel      4 May 24 14:12 master.pid
> -rw-r--r--   1 root     wheel     86 May 24 14:12 mounts
> srw-------   1 root     wheel      0 May 27 21:01 replication-notify
> prw-------   1 root     wheel      0 May 27 21:01 replication-notify-fifo
> srw-------   1 dovecot  wheel      0 May 27 21:01 replicator
> srw-rw-rw-   1 root     wheel      0 May 27 21:01 ssl-params
> srw-rw-rw-   1 root     wheel      0 May 27 21:01 stats
> prw-rw-rw-   1 root     wheel      0 May 27 21:01 stats-mail
> drwxr-x---   2 root     dovenull   4 May 27 21:01 token-login
> thebighonker.lerctr.org /var/run/dovecot $
>
>
> Now, the fact that it was whining about a .tmp file is interesting.
>
> Was there any other whines?
>
> Seems like something(tm) wasn't running as root that should be.
>
>
> On Wed, May 28, 2014 at 5:52 PM, Chris Vaas <chrisvaas at gmail.com> wrote:
>
>> What permissions should I have on the folder /var/run/dovecot ? The owner
>> is root and the group dovecot in my case. The access bits are drwxr-xr-x.
>>
>> On Thu, May 29, 2014 at 12:49 AM, Larry Rosenman <larryrtx at gmail.com>
>> wrote:
>>
>> > Check the permissions on the directory referenced.
>> > On May 28, 2014 5:06 PM, "Chris Vaas" <chrisvaas at gmail.com> wrote:
>> >
>> >> Hey guys,
>> >> I am getting the following error. It seems not be be severe, since my
>> >> setup
>> >> works without any signs of drawbacks. But I'd rather rely on a
>> >> professional
>> >> opinion.
>> >>
>> >> May 28 23:02:54 example dovecot: auth: Error:
>> >> open(/var/run/dovecot/auth-token-secret.dat.tmp) failed: Permission
>> denied
>> >> May 28 23:02:54 example dovecot: auth: Error: Failed to write auth
>> token
>> >> secret file; returned tokens will be invalid once auth restarts
>> >>
>> >> Thanks in advance
>> >> Chris
>> >>
>> >
>>
>
>
>
> --
> Larry Rosenman                     http://www.lerctr.org/~ler
> Phone: +1 214-642-9640 (c)     E-Mail: larryrtx at gmail.com
> US Mail: 108 Turvey Cove, Hutto, TX 78634-5688
>


More information about the dovecot mailing list