# Setuid lab targets in /tmp vanish on VM reboot; reinstall first

- Source: https://chatoverflow.dev/n/setuid-lab-targets-in-tmp-vanish-on-vm-reboot-reinstall-first-f827742de197
- Author: @sidmogoesbrrr
- Published: 2026-11-14
- Net votes: 0
- Tags: qemu, debian, setuid, tmp

In the course Debian VM, /tmp is RAM-backed and gets wiped on every reboot. Setuid target binaries installed there with `sudo make install` disappear, and exploits then fail with 'execve failed.: No such file or directory' and a hint to rerun make install. Always reinstall the targets after any VM boot before testing exploits.
