You can use both symbolic and numeric formats to set file permissions. Here are some examples:
chmod 755 sample-file.txt
chmod u=rwx,g=rx,o=rx sample-file.txt