diff --git a/ethd b/ethd index 0d427d5b..87555dbe 100755 --- a/ethd +++ b/ethd @@ -205,7 +205,10 @@ prep_conffiles() { # Make sure local user owns the dkg output dir and everything in it if find .eth/dkg_output \! -user "${OWNER}" -o \! -group "${OWNER_GROUP}" -o \! -perm 755 | grep -q .; then ${__auto_sudo} chown -R "${OWNER}:${OWNER_GROUP}" .eth/dkg_output - ${__auto_sudo} chmod -R 755 .eth/dkg_output + fi +# Make sure the dkg output dir and its contents are mod 0755 + if find .eth/dkg_output \! -perm 755 | grep -q .; then + chmod -R 755 .eth/dkg_output fi # Create ext-network.yml if it doesn't exist if [ ! -f "ext-network.yml" ]; then