This is just a curious question occurred to me yesterday while testing a program on other Macs.
When I build the program in xcode/terminal and run it, there is no warning dialog. But when I copy the executable to another Mac, there is a warning dialog.
So what specifies executable ownership and how it is detected by Mac?