From: russell@coker.com.au (Russell Coker) Date: Wed, 15 Nov 2017 20:40:54 +1100 Subject: [refpolicy] [PATCH 2/2] locallogin: Allow local_login_t to list Maildirs in home directories In-Reply-To: <20171115071015.2168-2-aranea@aixah.de> References: <20171115071015.2168-1-aranea@aixah.de> <20171115071015.2168-2-aranea@aixah.de> Message-ID: <3758522.bh2Ol2tcTW@xev> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com Why is that needed? Is there some pam module or something that is displaying mail status? On Wednesday, 15 November 2017 8:10:15 AM AEDT Luis Ressel via refpolicy wrote: > --- > policy/modules/system/locallogin.te | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/policy/modules/system/locallogin.te > b/policy/modules/system/locallogin.te index ff8df49df..8a0660320 100644 > --- a/policy/modules/system/locallogin.te > +++ b/policy/modules/system/locallogin.te > @@ -183,6 +183,9 @@ optional_policy(` > optional_policy(` > # Search for mail spool file. > mta_getattr_spool(local_login_t) > + > + # List contents of ~/Maildir > + mta_list_mail_home_rw(local_login_t) > ') > > optional_policy(` -- My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/