-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Mon, 16 Jan 2017, Mark Foley wrote:
I've added some infos from other posts as well
I've just upgraded from Slackware 14.1 to 14.2. I've not done anything with dovecot -- it's the same version that was running before the upgrade. However, now I'm getting a permission error:
/var/log/maillog:
Jan 16 13:09:44 mail dovecot: imap(mark): Error: opendir(/home/HPRS/mark/Maildir) failed: Permission denied (euid=3000026(HPRS\mark) egid=100(users) missing +r perm: /home/HPRS/mark/Maildir, conflicting dir uid=10001(HPRS\mark)) Jan 16 13:09:44 mail dovecot: imap(mark): Error: stat(/home/HPRS/mark/Maildir/.Trash) failed: Permission denied (euid=3000026(HPRS\mark) egid=100(users) missing +x perm: /home/HPRS/mark/Maildir, conflicting dir uid=10001(HPRS\mark))
- Why does both UIDs 3000026 and 10001 translate back to HPRS\mark ? What HPRS\mark translates to?
Permission on that folder are:
$ ls -ld /home/HPRS/mark/Maildir drwx------ 17 HPRS\mark domusers 4096 Dec 7 23:07 /home/HPRS/mark/Maildir/
- I guess this HPRS\mark is 10001 ? (And not 3000026)
Permissions are unchanged since before the backup.
"backup"? You've restored the Maildir's from somewhere else? What was the _numerical_ UID within the backup and what is it now?
This is the only user having this permission problem. All other Thunderbird/dovecot users are getting mail file. They all have the same permissions set on their Maildir folder.
- Does all users have two numerical UIDs? Which numerical UID does the files on the filesystem belong to? to >3000000 or to 1xxxx ?
On the other hand, the other user I mentioned in my Jan 24 17:15 message, shay, also shows this UID/EUID discrepancy, but that does not prevent her from getting mail and there is no permission denied error on her messages.
What are those Error messages? I mean the highligted part of Error: **opendir**(/home/HPRS/mark/Maildir) failed .
====
- In which way do you assign the uid Dovecot is using to access the filesystem? Does your userdb return ExtraFields like, http://wiki2.dovecot.org/UserIds?highlight=%28system_user%29 ? Are they different between mark and shay?
If the numerical UID is derived from the system, check out
id mark id shay
It looks like your users login with "mark" only? Or are they using HPRS\mark ?
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iQEVAwUBWIhNLHz1H7kL/d9rAQIJnQf+Jp41MJ/2OstRTEDEzVIMIBCdq0i6qR9z Kqh+4hX0aKKopyHTvO/JkbEfqzk9ofkcMzVRh94NgTVwEug0BwjLrtcVyphqclmZ 15JDQnVogCIOT16Nv9COqmqydJQxFpP2BGWIG5mO7USWt/lobvCPKIW6mlSnIh+i ItVdkd3UN71bLCTdG8cUqnBcjjtwd6rrLvLp47294EyvN5XJEUmppw4EpP6nMKU4 G9XkplbSEQjFZxnAcZsWSYKb0JMNL5Z1/v+nbSvnGqeL4luUoH7XfXSDO912VL1G jX5oc2VdrJvIMvtIDsbGDF9CHlRs7IQdMHv0HvK9++Zm79x5Gen1qA== =O6AV -----END PGP SIGNATURE-----