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

Bug 690922

Summary: www-servers/spawn-fcgi-1.6.4-r1 problem with rights
Product: Gentoo Linux Reporter: Aleksandr <baka>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Aleksandr 2019-07-28 16:50:54 UTC
If specify user and group in config, for example
FCGI_USER=nginx
FCGI_GROUP=nginx

path /run/spawn-fcgi have wrong rights
drwx------  2 root root  680 Jul 28 18:43 spawn-fcgi

Fix in /etc/init.d/spawn-fcgi
-        checkpath -q -d -m 700 /run/spawn-fcgi
+        checkpath -q -d -m 700 -o ${FCGI_USER}:${FCGI_GROUP} /run/spawn-fcgi


Reproducible: Always