first update
This commit is contained in:
12
services/custombuild/patches/fpm-quota-chown.patch
Normal file
12
services/custombuild/patches/fpm-quota-chown.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
--- sapi/fpm/fpm/fpm_unix.c.orig 2019-12-05 17:02:37.818844398 -0700
|
||||
+++ sapi/fpm/fpm/fpm_unix.c 2019-12-05 17:20:39.578769107 -0700
|
||||
@@ -235,7 +235,8 @@
|
||||
if (wp->socket_uid != -1 || wp->socket_gid != -1) {
|
||||
if (0 > chown(path, wp->socket_uid, wp->socket_gid)) {
|
||||
zlog(ZLOG_SYSERROR, "[pool %s] failed to chown() the socket '%s'", wp->config->name, wp->config->listen_address);
|
||||
- return -1;
|
||||
+ chown(path, 0, wp->socket_gid);
|
||||
+ return 0;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
Reference in New Issue
Block a user