Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 690922 - www-servers/spawn-fcgi-1.6.4-r1 problem with rights
Summary: www-servers/spawn-fcgi-1.6.4-r1 problem with rights
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-28 16:50 UTC by Aleksandr
Modified: 2019-08-04 10:34 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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