[Dovecot] UID/GID changed

Jose Celestino japc at co.sapo.pt
Fri Dec 5 19:39:30 EET 2008


Words by Albert E. Whale [Fri, Dec 05, 2008 at 12:29:05PM -0500]:
> I have a problem with Dovecot 1.1.6 after having reset the UID/GID
> information for a few email accounts.  I get the following error:
> 
> Dec  5 12:26:03 ns6 dovecot: POP3(mike):
> stat(/home/popuser_mike/Maildir/tmp) failed: Permission denied
> (euid=1366 egid=1366 missing +x perm: /home/popuser_mike/Maildir)
> Dec  5 12:26:03 ns6 dovecot: POP3(mike): Couldn't open INBOX: Internal
> error occurred. Refer to server log for more information. [2008-12-05
> 12:26:03]
> Dec  5 12:27:40 ns6 dovecot: POP3(mike):
> stat(/home/popuser_mike/Maildir/tmp) failed: Permission denied
> (euid=1366 egid=1366 missing +x perm: /home/popuser_mike/Maildir)
> Dec  5 12:27:40 ns6 dovecot: POP3(mike): Couldn't open INBOX: Internal
> error occurred. Refer to server log for more information. [2008-12-05
> 12:27:40]
> 
> Permissions are:
> 
> [/home/popuser_mike/Maildir] ls -la
> total 40
> drwxrws---  5 mike mail 4096 Dec  5 12:23 ./
> drwxr-xr-x  6 mike mike 4096 Nov  5 14:34 ../
> drwx--S---  2 mike mail 4096 Dec  3 21:20 cur/
> -rw-rw----  1 mike mail 7560 Dec  4 08:02 dovecot.index.log.save
> -rw-rw----  1 mike mail  184 Dec  4 08:02 dovecot.index.save
> -rw-rw----  1  660 mail   18 Dec  4 08:02 dovecot-uidlist.save
> -rw-rw----  1 mike mail    8 Nov  5 19:00 dovecot-uidvalidity
> -rw-rw----  1 mike mail    0 Nov  5 19:00 dovecot-uidvalidity.4912338c
> drwx--S---  2 mike mail 4096 Dec  5 11:46 new/
> drwx--S---  2 mike mail 4096 Dec  5 11:46 tmp/
> 
> 
> What am I missing?
> 

You're missing "+x perm" as the logs pointed out.

Try doing a ls -lan and compare the uid+gid.

-- 
Jose Celestino | http://japc.uncovering.org/files/japc-pgpkey.asc
----------------------------------------------------------------
"One man’s theology is another man’s belly laugh." -- Robert A. Heinlein


More information about the dovecot mailing list