Austin Witmer
2022-Aug-21 14:42 UTC
Permission denied UNIX perms appear ok (ACL/MAC wrong?))
Thanks to all of your for your input! I think I may have gotten this resolved. More time and testing will tell! More details later . . . Austin Witmer> On Aug 20, 2022, at 9:06 AM, Erwan David <erwan at rail.eu.org> wrote: > > Le 20/08/2022 ? 16:52, Austin Witmer a ?crit : >> Hello all! >> >> Recently I upgraded my mail server to Ubuntu 22.04 LTS and ever since then I am periodically getting some dovecot errors like the below in my mail log. As far as I can tell, my unix perms are just fine. What is ACL/MAC? >> >> Aug 20 14:41:58 mail dovecot: imap(user at domain.com)<56316><1NieGKPmuOdKwxVI>: Error: Mailbox INBOX: stat(/mnt/volume1/mailserver/plain/maildir/domain.com/user/dovecot.index.log <http://domain.com/user/dovecot.index.log>) failed: Permission denied (euid=1000(austin) egid=1000(austin) UNIX perms appear ok (ACL/MAC wrong?)) >> >> And here is the listing showing the permissions for that file. >> >> *austin at mail*:*~*$ ls -la /mnt/volume1/mailserver/plain/maildir/domain.com/user/dovecot.index.log <http://domain.com/user/dovecot.index.log> >> -rwxrwxr-- 1 austin austin 15796 Aug 20 14:41 */mnt/volume1/mailserver/plain/maildir/domain.com/user/dovecot.index.log <http://domain.com/user/dovecot.index.log>* >> >> What in the world is causing these errors, and what can I do about them? >> >> Thanks in advance! >> >> Austin Witmer > > Did you check wether your linux distribution uses SeLINUX or Apparmor ? In that case you would have to check their policy to give dovecot access to this directory. >-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20220821/087dd900/attachment.htm>
Remo Mattei
2022-Aug-21 16:03 UTC
Permission denied UNIX perms appear ok (ACL/MAC wrong?))
It?s a mount partition you should check that probably it is nfs. Good luck.> Il giorno 21 ago 2022, alle ore 07:43, Austin Witmer <austin96 at emypeople.net> ha scritto: > > ?Thanks to all of your for your input! > > I think I may have gotten this resolved. More time and testing will tell! More details later . . . > > Austin Witmer > > >> On Aug 20, 2022, at 9:06 AM, Erwan David <erwan at rail.eu.org> wrote: >> >>> Le 20/08/2022 ? 16:52, Austin Witmer a ?crit : >>> Hello all! >>> >>> Recently I upgraded my mail server to Ubuntu 22.04 LTS and ever since then I am periodically getting some dovecot errors like the below in my mail log. As far as I can tell, my unix perms are just fine. What is ACL/MAC? >>> >>> Aug 20 14:41:58 mail dovecot: imap(user at domain.com)<56316><1NieGKPmuOdKwxVI>: Error: Mailbox INBOX: stat(/mnt/volume1/mailserver/plain/maildir/domain.com/user/dovecot.index.log <http://domain.com/user/dovecot.index.log>) failed: Permission denied (euid=1000(austin) egid=1000(austin) UNIX perms appear ok (ACL/MAC wrong?)) >>> >>> And here is the listing showing the permissions for that file. >>> >>> *austin at mail*:*~*$ ls -la /mnt/volume1/mailserver/plain/maildir/domain.com/user/dovecot.index.log <http://domain.com/user/dovecot.index.log> >>> -rwxrwxr-- 1 austin austin 15796 Aug 20 14:41 */mnt/volume1/mailserver/plain/maildir/domain.com/user/dovecot.index.log <http://domain.com/user/dovecot.index.log>* >>> >>> What in the world is causing these errors, and what can I do about them? >>> >>> Thanks in advance! >>> >>> Austin Witmer >> >> Did you check wether your linux distribution uses SeLINUX or Apparmor ? In that case you would have to check their policy to give dovecot access to this directory. >> >-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20220821/beb4fefb/attachment.htm>
Austin Witmer
2022-Sep-07 01:45 UTC
Permission denied UNIX perms appear ok (ACL/MAC wrong?))
Hello all! My strange permission errors in my log files seem to have disappeared. The only thing I can think of that I changed was mounting my encrypted folder without using sudo. Example ?gocryptfs -allow_other cipher plain? instead of "sudo gocryptfs -allow_other cipher plain?. Thanks to all of you for your help and suggestions! Austin Witmer> On Aug 21, 2022, at 10:03 AM, Remo Mattei <rm at rm.ht> wrote: > > It?s a mount partition you should check that probably it is nfs. > > Good luck. > >> Il giorno 21 ago 2022, alle ore 07:43, Austin Witmer <austin96 at emypeople.net> ha scritto: >> >> ?Thanks to all of your for your input! >> >> I think I may have gotten this resolved. More time and testing will tell! More details later . . . >> >> Austin Witmer >> >> >>> On Aug 20, 2022, at 9:06 AM, Erwan David <erwan at rail.eu.org <mailto:erwan at rail.eu.org>> wrote: >>> >>> Le 20/08/2022 ? 16:52, Austin Witmer a ?crit : >>>> Hello all! >>>> >>>> Recently I upgraded my mail server to Ubuntu 22.04 LTS and ever since then I am periodically getting some dovecot errors like the below in my mail log. As far as I can tell, my unix perms are just fine. What is ACL/MAC? >>>> >>>> Aug 20 14:41:58 mail dovecot: imap(user at domain.com <mailto:user at domain.com>)<56316><1NieGKPmuOdKwxVI>: Error: Mailbox INBOX: stat(/mnt/volume1/mailserver/plain/maildir/domain.com/user/dovecot.index.log <http://domain.com/user/dovecot.index.log> <http://domain.com/user/dovecot.index.log <http://domain.com/user/dovecot.index.log>>) failed: Permission denied (euid=1000(austin) egid=1000(austin) UNIX perms appear ok (ACL/MAC wrong?)) >>>> >>>> And here is the listing showing the permissions for that file. >>>> >>>> *austin at mail*:*~*$ ls -la /mnt/volume1/mailserver/plain/maildir/domain.com/user/dovecot.index.log <http://domain.com/user/dovecot.index.log> <http://domain.com/user/dovecot.index.log <http://domain.com/user/dovecot.index.log>> >>>> -rwxrwxr-- 1 austin austin 15796 Aug 20 14:41 */mnt/volume1/mailserver/plain/maildir/domain.com/user/dovecot.index.log <http://domain.com/user/dovecot.index.log> <http://domain.com/user/dovecot.index.log <http://domain.com/user/dovecot.index.log>>* >>>> >>>> What in the world is causing these errors, and what can I do about them? >>>> >>>> Thanks in advance! >>>> >>>> Austin Witmer >>> >>> Did you check wether your linux distribution uses SeLINUX or Apparmor ? In that case you would have to check their policy to give dovecot access to this directory. >>> >>-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20220906/2c507096/attachment-0001.htm>