diff --git a/profiles/apparmor.d/abstractions/php b/profiles/apparmor.d/abstractions/php index ddafb0770..6bf0dc798 100644 --- a/profiles/apparmor.d/abstractions/php +++ b/profiles/apparmor.d/abstractions/php @@ -13,8 +13,7 @@ abi , # shared snippets for config files - /etc/php{,5,7,8}/**/ r, - /etc/php{,5,7,8}/**.ini r, + /etc/php{,5,7,8}/** r, # Xlibs /usr/X11R6/lib{,32,64}/lib*.so* mr, diff --git a/profiles/apparmor.d/php-fpm b/profiles/apparmor.d/php-fpm index b25762c50..14b3c7195 100644 --- a/profiles/apparmor.d/php-fpm +++ b/profiles/apparmor.d/php-fpm @@ -16,8 +16,6 @@ profile php-fpm /usr/sbin/php-fpm* flags=(attach_disconnected) { # read the system certificates include - /etc/php{,5,7}/** r, - capability net_admin, # change user/group of a pool capability setuid,