Apparent Maildir permission issue
Aki Tuomi
aki.tuomi at dovecot.fi
Wed Jan 25 05:41:42 UTC 2017
I'm guessing the permissions were different for the target directory.
Aki
> On January 25, 2017 at 3:29 AM Mark Foley <mfoley at ohprs.org> wrote:
>
>
> On Tue, 17 Jan 2017 12:25:27 +0200 Aki Tuomi <aki.tuomi at dovecot.fi> wrote:
> >
> > 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))
> >
> >
> > Just wanted to point out that you have at different UID for the folder
> > than your EUID (gotten from userdb/passdb).
> >
> > Aki
> >
>
> Yes, very puzzling. I'm restoring some older dovecot logs now to see if that was true e.g. in 2016.
> Perhaps an upgrade of some other software caused a problem. 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.
>
> More when I know more
>
> --Mark
>
> > On 16.01.2017 23:09, Mark Foley wrote:
> > > More info ...
> > >
> > > 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.
> > >
> > > --Mark
> > >
> > > -----Original Message-----
> > > From: Mark Foley <mfoley at ohprs.org>
> > > Date: Mon, 16 Jan 2017 13:21:31 -0500
> > > Organization: Ohio Highway Patrol Retirement System
> > > To: dovecot at dovecot.org
> > > Subject: Apparent Maildir permission issue
> > >
> > > 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 last message repeated 4 times
> > > 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))
> > > Jan 16 13:09:44 mail dovecot: imap(mark): Error: stat(/home/HPRS/mark/Maildir/tmp) failed: Permission denied (euid=3000026(HPRS\mark) egid=100(users) missing +x perm: /home/HPRS/mark/Maildir, conflicting dir uid=10001(HPRS\mark))
> > > 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:45 mail last message repeated 11 times
> > >
> > > 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/
> > >
> > > Permissions are unchanged since before the backup.
> > >
> > > What do I do to fix this?
> > >
> > > THX --Mark
> >
More information about the dovecot
mailing list