How do you use chmod inside a shell script
===

So this is in a shell script:

___________________________________________________
#!/bin/bash
trialName= "trial.txt"

chmod a+rwx $trialName
____________________________________________________
That doesnt really work. I have trying adding single quote/double quotes around $trialName but that doesnt work either. Any way I can do that?

Will appreciate some help