From f85775b8705fb30552fdb547119b922e2cec7a8b Mon Sep 17 00:00:00 2001 From: Mirko Geissler Date: Thu, 5 Nov 2015 11:51:29 +0100 Subject: [PATCH] Only return users of group 'adm' This fixes the issue where all groups starting with 'adm' are returned which broke the installation. --- plugins/nginx-vhosts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/nginx-vhosts/install b/plugins/nginx-vhosts/install index b7e508a48..86cf55909 100755 --- a/plugins/nginx-vhosts/install +++ b/plugins/nginx-vhosts/install @@ -37,7 +37,7 @@ fi echo 'server_names_hash_bucket_size 512;' >| /etc/nginx/conf.d/server_names_hash_bucket_size.conf # make sure dokku can read the default log dir -gpasswd -M "$(egrep ^adm /etc/group | awk -F ":" '{ print $4 }')" dokku +gpasswd -M "$(egrep ^adm: /etc/group | awk -F ":" '{ print $4 }')" dokku chgrp -R dokku /var/log/nginx chmod g+r /var/log/nginx