Req #68526 [NEW]: Implement POSIX Access Control List for UDS
| From: | remi@php.net | Date: | Sun, 30 Nov 2014 08:34:55 +0000 |
| Subject: | Req #68526 [NEW]: Implement POSIX Access Control List for UDS | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-188846@lists.php.net to get a copy of this message | ||
From: remi
Operating system: GNU/LInux
PHP version: 5.6.4RC1
Package: FPM related
Bug Type: Feature/Change Request
Bug description:Implement POSIX Access Control List for UDS
Description:
------------
When FPM listen to an UDS socket, security is set by changing the
owner/group of the socket, ex:
listen.owner = foo
listen.group = bar
Proposal, keep with behavior and add an optional configuration to use
Posix ACL instead:
listen.users = apache,nginx,lighttpd
listen.groups = webserver
Test script:
---------------
$ getfacl /path/to/fpm.sock
Expected result:
----------------
# file: /path/to/fpm.sock
# owner: foo
# group: foo
user::rw-
user:apache:rw-
user:nginx:rw-
user:lighttpd:rw-
group::rw-
group:webserver:rw-
mask::rw-
other::---
--
Edit bug report at https://bugs.php.net/bug.php?id=68526&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=68526&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=68526&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=68526&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=68526&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=68526&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=68526&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=68526&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=68526&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=68526&r=support
Expected behavior: https://bugs.php.net/fix.php?id=68526&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=68526&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=68526&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=68526&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=68526&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=68526&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=68526&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=68526&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=68526&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=68526&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=68526&r=mysqlcfg