Rush has uploaded a new change for review. https://gerrit.wikimedia.org/r/284924
Change subject: toollabs: bastion fixup perms for cgred ...................................................................... toollabs: bastion fixup perms for cgred Bug: T131541 Change-Id: Ic09b7ab529dc2dcd9c2fbb44d676b85d9ab1932c --- M modules/cgred/manifests/init.pp M modules/cgred/templates/initscripts/cgrulesengd.sysvinit.erb 2 files changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/24/284924/1 diff --git a/modules/cgred/manifests/init.pp b/modules/cgred/manifests/init.pp index 3c98991..0763413 100644 --- a/modules/cgred/manifests/init.pp +++ b/modules/cgred/manifests/init.pp @@ -18,7 +18,7 @@ '/etc/cgconfig.d/', '/etc/cgrules.d/']: ensure => directory, - mode => '0554', + mode => '0555', owner => 'root', group => 'root', } diff --git a/modules/cgred/templates/initscripts/cgrulesengd.sysvinit.erb b/modules/cgred/templates/initscripts/cgrulesengd.sysvinit.erb index a58405a..4d3643d 100644 --- a/modules/cgred/templates/initscripts/cgrulesengd.sysvinit.erb +++ b/modules/cgred/templates/initscripts/cgrulesengd.sysvinit.erb @@ -30,7 +30,7 @@ [ -x $CGCONFIG_DIR ] || exit 1 CGRED_DIR_PERM=$(/usr/bin/stat -c %a $CGRED_DIR) -if [ "$CGRED_DIR_PERM" != "500" ]; then +if [ "$CGRED_DIR_PERM" != "555" ]; then echo "${CGCONFIG_DIR} permissions are not 500" exit 1 fi -- To view, visit https://gerrit.wikimedia.org/r/284924 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ic09b7ab529dc2dcd9c2fbb44d676b85d9ab1932c Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Rush <r...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits