From 847c2a7f19b17e6214bebcaceffb6e95115a6d66 Mon Sep 17 00:00:00 2001 From: Chris Fryer Date: Tue, 16 Jan 2018 15:00:30 +0000 Subject: [PATCH] Chamge default mode of wordpress files to 0664 This will allow members of the group $wp_group to write to the wordpress directory, enabling them to run wp-cli etc without sudo. There shouldn't be any risk here; by default, $wp_group is '0', i.e. root --- manifests/instance/app.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/instance/app.pp b/manifests/instance/app.pp index f59e4a4..6601e06 100644 --- a/manifests/instance/app.pp +++ b/manifests/instance/app.pp @@ -47,7 +47,7 @@ File { owner => $wp_owner, group => $wp_group, - mode => '0644', + mode => '0664', } Exec { path => ['/bin','/sbin','/usr/bin','/usr/sbin'],