Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 394417 - mail-mta/courier - wrong ownership/permissions on /etc/courier/ldapaliasrc
Summary: mail-mta/courier - wrong ownership/permissions on /etc/courier/ldapaliasrc
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Hanno Böck
Depends on:
Reported: 2011-12-12 08:56 UTC by Matus UHLAR - fantomas
Modified: 2019-01-03 09:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Matus UHLAR - fantomas 2011-12-12 08:56:08 UTC
since the ldapaliasrc is given permissions 0400 at install (if the ldap use flag is on). However this causes errors when sendmail is executed:

% sendmail
/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):

commit 01e1690ff11369c6890a023b83b5125592a5a2b1
Author:     Hanno <>
AuthorDate: 2019-01-03 09:45:59 +0000
Commit:     Hanno <>
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.
    Signed-off-by: Hanno Boeck <>
    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(+)