mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-30 22:05:27 +00:00
abstractions/php: allow access to /etc/php5/**.ini
Based on a patch from Felix Geyer who wrote in April: > On Ubuntu trusty the php package creates config symlinks in > /etc/php5/cli/conf.d/, /etc/php5/cgi/conf.d/ and > /etc/php5/fpm/conf.d/ to /etc/php5/mods-available/. This patch is a simplified version of his patch that allows /etc/php5/**.ini r and /etc/php5/**/ r Acked-by: Seth Arnold <seth.arnold@canonical.com> on IRC (after menacing an Acked-by: <timeout>)
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
# ------------------------------------------------------------------
|
||||
|
||||
# shared snippets for config files
|
||||
/etc/php5/{conf.d,apache2,cli,fastcgi,cgi}/ r,
|
||||
/etc/php5/{conf.d,apache2,cli,fastcgi,cgi}/*.ini r,
|
||||
/etc/php5/**/ r,
|
||||
/etc/php5/**.ini r,
|
||||
|
||||
# Xlibs
|
||||
/usr/X11R6/lib{,32,64}/lib*.so* mr,
|
||||
|
Reference in New Issue
Block a user