This file is indexed.

/etc/network/if-up.d/wpasupplicant is in wpasupplicant 2:2.6-15ubuntu2.

This file is owned by root:root, with mode 0o777.

It is a symlink to /etc/network/if-up.d/../../wpa_supplicant/ifupdown.sh