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

Bug 351762

Summary: app-admin/sudo: /etc/ldap.conf.sudo has 0440 perms but should be 0400
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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 ...