1. See permissions: ls -l shows something like -rwxr-xr-- for each file.
r = read, w = write, x = execute (run). The three groups are: the owner, the group, everyone else.
2. Make a script runnable: chmod +x script.sh, then run it with ./script.sh
3. Common number settings: chmod 644 file (owner can edit, others read only), chmod 755 folder (owner full, others can open and read).
4. Change the owner: sudo chown username:username file
5. "Permission denied" on your own files copied from another disk? Fix the owner with chown, or copy them into your Home folder.
Avoid chmod 777. It lets anyone change or run the file.