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."