From 6d42fe1f82b2b51b9908086f35d08d3c894583ff Mon Sep 17 00:00:00 2001 From: Restless-ET Date: Mon, 17 Aug 2015 12:41:04 +0100 Subject: [PATCH] Fix permissions/mode of [php][ext_conf_dir] Since the resource pointed by `node['php']['ext_conf_dir']` will certainly be a directory it will need execution permissions. Otherwise when activating an extension for CLI for instance by creating a symlink under `/etc/php5/cli/conf.d` it won't be able to read and import it. --- providers/pear.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/pear.rb b/providers/pear.rb index abef4dfc8..a21715b19 100644 --- a/providers/pear.rb +++ b/providers/pear.rb @@ -240,7 +240,7 @@ def manage_pecl_ini(name, action, directives, zend_extensions) directory "#{node['php']['ext_conf_dir']}" do owner 'root' group 'root' - mode '0644' + mode '0755' recursive true end