I once generated an executable file using
g++ on a linux box. But when I try to run this executable file on another linux machine, the system said "Permission denied". However, after I re-compile the source code on this second machine and run the executable file, the program just runs fine.
Can you let me know what may be the problem?