php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #78889
Patch php-fpm.service.in.patch revision 2019-11-29 21:30 UTC by glitsj16 at riseup dot net

Patch php-fpm.service.in.patch for FPM related Bug #78889

Patch version 2019-11-29 21:30 UTC

Return to Bug #78889 | Download this patch
Patch Revisions:

Developer: glitsj16@riseup.net

--- a/php-7.4.0/sapi/fpm/php-fpm.service.in
+++ b/php-7.4.0/sapi/fpm/php-fpm.service.in
@@ -33,7 +33,7 @@
 PrivateDevices=true
 
 # Required for dropping privileges and running as a different user
-CapabilityBoundingSet=CAP_SETGID CAP_SETUID
+CapabilityBoundingSet=CAP_CHOWN CAP_SETGID CAP_SETUID
 
 # Attempts to create memory mappings that are writable and executable at the same time,
 # or to change existing memory mappings to become executable are prohibited.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Dec 03 17:01:29 2024 UTC