Skip to content

Commit

Permalink
The uid of the 'apt' user changed from 100 in Debian 10 to 42 in Debi…
Browse files Browse the repository at this point in the history
…an 12

 * #78 (comment)
  • Loading branch information
maltfield committed Mar 18, 2024
1 parent 05e36cf commit 8f82317
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/linux/buildAppImage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ ${SUDO} iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
${SUDO} iptables -A INPUT -j DROP
${SUDO} iptables -A OUTPUT -s 127.0.0.1/32 -d 127.0.0.1/32 -j ACCEPT
${SUDO} iptables -A OUTPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
${SUDO} iptables -A OUTPUT -m owner --uid-owner 100 -j ACCEPT # apt uid = 100
${SUDO} iptables -A OUTPUT -m owner --uid-owner 42 -j ACCEPT # apt uid = 100

# TODO: simplify these tests
${SUDO} iptables -A OUTPUT -m owner --uid-owner provisioner -j ACCEPT
Expand Down

0 comments on commit 8f82317

Please sign in to comment.