Thanks schneidz for your reply!!!
However, I just managed to run the executable by using the 1st code, ie.
While the other 2 codes didn't get me the permissions.
Besides that, I found out another solution for it, ie.
ps: the 'diamond' file means the executable because the shape of the executable is a diamond shape.