Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 394417

Summary: mail-mta/courier - wrong ownership/permissions on /etc/courier/ldapaliasrc
Product: Gentoo Linux Reporter: Matus UHLAR - fantomas <uhlar>
Component: Current packagesAssignee: Hanno Böck <hanno>
Status: RESOLVED FIXED    
Severity: normal CC: net-mail+disabled
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Matus UHLAR - fantomas 2011-12-12 08:56:08 UTC
since 0.48.2.20050215 the ldapaliasrc is given permissions 0400 at install (if the ldap use flag is on). However this causes errors when sendmail is executed:

% sendmail uhlar@fantomas.sk
/etc/courier/ldapaliasrc: Permission denied

Please change the default permissions to root:mail, 0640
- courier programs run with mail group that should be able to read configs
Comment 1 Kristian Duus Østergaard 2012-09-27 07:54:34 UTC
I have to agree with Matus - change the permissions on installation. Seeing the error on each startup attempt is anoying.
Comment 2 Larry the Git Cow gentoo-dev 2019-01-03 09:46:12 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01e1690ff11369c6890a023b83b5125592a5a2b1

commit 01e1690ff11369c6890a023b83b5125592a5a2b1
Author:     Hanno <hanno@gentoo.org>
AuthorDate: 2019-01-03 09:45:59 +0000
Commit:     Hanno <hanno@gentoo.org>
CommitDate: 2019-01-03 09:45:59 +0000

    mail-mta/courier: Version bump.
    
    Change permission of ldapaliasrc (#394417).
    Change mysql dependency (#665918).
    Switch to EAPI 7.
    Use upstream default libexecdir.
    Warn about Unicode maildir changes.
    
    Closes: https://bugs.gentoo.org/394417
    Closes: https://bugs.gentoo.org/665918
    Closes: https://bugs.gentoo.org/671042
    Signed-off-by: Hanno Boeck <hanno@gentoo.org>
    Package-Manager: Portage-2.3.53, Repoman-2.3.12

 mail-mta/courier/Manifest             |   1 +
 mail-mta/courier/courier-1.0.5.ebuild | 314 ++++++++++++++++++++++++++++++++++
 2 files changed, 315 insertions(+)