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

Bug 65935

Summary: /var/run/nscd has no r-x permissions for "others"
Product: Gentoo Linux Reporter: Erik Thiele <erik>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Erik Thiele 2004-09-30 10:18:24 UTC
on my machine /var/run/nscd is permissioned

rwxr-x--- root root

instead it should be

rwxr-xr-x root root

because otherwise normal users cannot use the nscd daemon.
just do
strace ls -l
in order to see that he tries to access /var/run/nscd/socket
and gets a EACCESS error. currently only root can use the nscd daemon.

Reproducible: Always
Steps to Reproduce:




sys-libs/glibc-2.3.3.20040420-r1
Comment 1 SpanKY gentoo-dev 2004-10-09 10:49:59 UTC
root@vapier 0 ~ # rm -rf /var/run/nscd
root@vapier 0 ~ # /etc/init.d/nscd start
 * Starting Name Service Cache Daemon...                                  [ ok ]
root@vapier 0 ~ # ls -l /var/run/nscd -d
drwxr-xr-x  2 root root 4096 Oct  9 13:49 /var/run/nscd

this has been resolved at somepoint