Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 351762 - app-admin/sudo: /etc/ldap.conf.sudo has 0440 perms but should be 0400
Summary: app-admin/sudo: /etc/ldap.conf.sudo has 0440 perms but should be 0400
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
Depends on:
Reported: 2011-01-15 15:04 UTC by Toralf Förster
Modified: 2016-02-01 17:39 UTC (History)
0 users

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 Toralf Förster gentoo-dev 2011-01-15 15:04:14 UTC
From the file :

n22 ~ # cat /etc/ldap.conf.sudo 
# See ldap.conf(5) and README.LDAP for details\n"
# This file should only be readable by root\n\n"

But the group read bit is set too :

n22 ~ # ll /etc/ldap.conf.sudo 
-r--r----- 1 root root 274 Jan 15 15:55 /etc/ldap.conf.sudo

Reproducible: Always
Comment 1 SpanKY gentoo-dev 2011-01-18 19:53:03 UTC
... the "root" group bit you mean.  no one should be in the "root" group.
Comment 2 Toralf Förster gentoo-dev 2011-01-18 19:59:51 UTC
Well, from the comment I'd expect that "root:root" had to be mentioned instead then.
OTOH I do not have too much experiences w/ removing that permission bit in the wild, but I thought it was worth to be pointed to.
Comment 3 Toralf Förster gentoo-dev 2016-01-31 18:27:02 UTC
4 years old ...