Use access() instead of stat() for checking whether scripts exist.
[tinc] / src / uml_socket /
drwxr-xr-x   ..
-rw-r--r-- 7234 device.c