UNIX perms appear ok (ACL/MAC wrong?)

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Fri Nov 21 08:14:33 UTC 2014


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

On Sun, 16 Nov 2014, [FnG] Lambik wrote:

> dovecot: imap-login: Login: user=<{USER}>, method=PLAIN,
> rip=123.123.123.123, lip=12.34.56.78, mpid=18385, TLS,
> session=<0OEra/8HNADUuyG9>
> dovecot: imap({USER}): Debug: Effective uid=1014, gid=1003,
> home=/home/{user}
> dovecot: imap({USER}): Debug: Namespace inbox: type=private,
> prefix=~/Maildir/, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes
> location=maildir:~/Maildir
> dovecot: imap({USER}): Debug: maildir++: root=/home/{user}/Maildir, index=,
> indexpvt=, control=, inbox=/home/{user}/Maildir, alt=
> dovecot: imap({USER}): Debug: Namespace : type=private, prefix=, sep=,
> inbox=no, hidden=yes, list=no, subscriptions=no location=fail::LAYOUT=none
> dovecot: imap({USER}): Debug: none: root=, index=, indexpvt=, control=,
> inbox=, alt=
> dovecot: imap({USER}): Error: open(/home/{user}/Maildir/dovecot.index.log)
> failed: Permission denied (euid=1014({USER}) egid=1003({GROUP}) UNIX perms
> appear ok (ACL/MAC wrong?))

looks like Dovecot thinks the Unix permissions are OK, but it gets
"Permission denied" nonetheless.

a) Is SELinux blocking the access?
http://wiki2.dovecot.org/WhyDoesItNotWork?highlight=%28selinux%29

b) Does your filesystem has other ACLs besides the Unix perms, such as
POSIX ACLs, AFS, ... .

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

iQEVAwUBVG70anz1H7kL/d9rAQK74wf/bwY1Aari+7bpShr+3rztKX+dTXDPYjt5
nHJ+1p/T7/c01Wcpo6RDmf1Zny2q/ObNZeB+wUTgsWmrxofHFENG6q5IFCm0zBis
wMOqQZvB91puKZsuJkE9PIu1nrSobr39MHKLB3ZhHJcXNbQpAp/aarjFnZy4xq9s
GKL/zhsZAM8TvsRk4fFVqqw6fvXxkf9X+ZbWef27QJl5c7i4gS5+QF93ZzmklVhj
jbGYQO2YkGIv7Eiz71xIzkWZKR+o6o/TDhDwRJIp8mjYx3FcIQ+T4b4Pm4t/1BjS
Wosps3pm6ahmHy5ricyVEgLgBXtlyhB3cATNakYXSsVcvNVl7Efyqw==
=Ffdm
-----END PGP SIGNATURE-----


More information about the dovecot mailing list