File permissions control who can read, write, or execute. chmod 644 file sets normal file permissions. chmod 755 script.sh makes a script executable. chown user:group file changes ownership. ls -la shows permissions.
File Permissions
ls -la
# -rwxr-xr-- 1 alice dev 1024 Jan 15 script.sh
# --- owner
# --- group
# --- others
chmod 755 script.sh # rwxr-xr-x
chmod +x script.sh # add execute
chmod -w file.txt # remove write
chown alice:dev file # change owner and group