How to make /tmp executable?
You must to have root privileges. For this, put sudo
in front of the command:
sudo mount -o remount,exec /tmp
When you are asked about password, just insert your usual user password.
Would you try this command? In my case, this worked.
sudo mount -t tmpfs -o exec tmpfs /tmp
and then, check if it worked.
mount