How to set chmod, so that ONLY owner of the file can read, write and execute? (other users cannot read, write, and execute)
chmod 600 filename
will do it;
or
chmod 700
if it is an executable.
Another way that is less cryptic is:
chmod go-rwx filename
You can do the following command on the file:
chmod 744 filename