Skip to content

Commit

Permalink
Fix dkg_output mod update asking for sudo when not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
jshufro committed Aug 28, 2024
1 parent 3066819 commit 0d4759b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ethd
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0d4759b

Please sign in to comment.