permission denied

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Mon Aug 4 07:57:05 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 3 Aug 2014, Joe Reid wrote:

> The time stamp on the .subscriptions.lock file gets updated every time I try 
> to make a change.  To test I edited .subscriptions by hand and forced 
> Thunderbird to try to subscribe something and I got access to the folder I 
> added, so I presume it is reading the file correctly.
>
> Permissions on~jreid/mail is 0700, the existing .subscriptions file is 0640 
> and .subscriptions.lock file is 0600.  all the files are owned by me and 
> their group is my primary group (not mail).
>
> $ /opt/csw/bin/doveconf -n
> # 2.2.12: /etc/opt/csw/dovecot/dovecot.conf
> # OS: SunOS 5.11 i86pc
> disable_plaintext_auth = no
> first_valid_uid = 100
> mail_access_groups = mail
> mail_location = mbox:~/mail:INBOX=/var/share/mail/%u
[cut]
> passdb {
>  driver = pam
> }
> userdb {
>  driver = passwd
> }

> $ doveadm log errors
> [...]
> Aug 03 16:47:02 imap(jreid): Error: 
> rename(/home/jreid/mail/.subscriptions.lock, /home/jreid/mail/.subscriptions) 
> failed: Permission denied
> Aug 03 16:52:49 imap(jreid): Error: 
> rename(/home/jreid/mail/2012/.imap/Received/dovecot.index.log.newlock, 
> /home/jreid/mail/2012/.imap/Received/dovecot.index.log) failed: Permission 
> denied

Who owns /home/jreid/mail, .subscriptions.lock file  and 
/home/jreid/mail/2012/.imap/Received ?

Please send a ls -la of /home/jreid/mail.

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBU9880Xz1H7kL/d9rAQI4kgf7B7nn7mzp8WHqYkD7azYToI7oYxIpoO1e
bi29AjlWNqTkwrxmCyhKbUqwaGan+ZbxN1xRDxsh8q7SoN3p6uF3ot1os2vBrX/1
UuSsxKEohi7/9S6x/eN9a/gKbRsKfb8wMUwBIW4HlWJgLuaywCqwl1WOk78RpddG
zUPsH3W63X/8lx84n6ZBqwddCYp/R4IYsQdyQMpMCjpj0DzTqniWhtd2i3ZiyaaF
dOhaWgcjTZ1cjr4iJnZniylHkuS4NsFZejSpM1An41aq4b0b51FHSGG8R3ze+sop
LVTctxCK7U+/sO296Lv5Lu49ndAlx0H7KViD9RKFWzaPtgQ+vDADZw==
=k6IU
-----END PGP SIGNATURE-----


More information about the dovecot mailing list