Using symbolic representation
chmod u+x myFile.sh
chmod o-rwx myFile.sh
chmod g+rx myFile.sh
Using octal representation
chmod 744 scripts -R
chmod 754 scripts -R
chmod 774 myFile.sh
chmod 700 personal-files -R
Set the setguid to enforce a default user/group on new directories/files
chmod g+s /shared-files