From 289343d1c8b8b8043aed8442feff38cc395704af Mon Sep 17 00:00:00 2001 From: Tommy Verrall Date: Tue, 20 Feb 2024 09:26:00 +0100 Subject: [PATCH] one last tweak --- gateway/debian/postinst | 3 ++- mixnode/debian/postinst | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gateway/debian/postinst b/gateway/debian/postinst index a02816a596..a6b058a689 100755 --- a/gateway/debian/postinst +++ b/gateway/debian/postinst @@ -29,7 +29,8 @@ else echo "Fresh installation detected." if [ -f "$default_location" ]; then - chown "$default_user:$default_group" "$default_location" + # Leave the binary as the user to perform the apt install + # It's down to the user to specify the correct ownership and permissions chmod 755 "$default_location" echo "Installation complete. Please configure and start the nym-gateway process manually." diff --git a/mixnode/debian/postinst b/mixnode/debian/postinst index 8d5aabdf8a..14b893a2f7 100644 --- a/mixnode/debian/postinst +++ b/mixnode/debian/postinst @@ -29,7 +29,9 @@ else echo "Fresh installation detected." if [ -f "$default_location" ]; then - chown "$default_user:$default_group" "$default_location" + # Leave the binary as the user to perform the apt install + # It's down to the user to specify the correct ownership and permissions + chmod 755 "$default_location" chmod 755 "$default_location" echo "Installation complete. Please configure and start the nym-mixnode process manually."