In this tutorial i go over the basic usage of the linux chmod and chown commands. These commands are used to change file and folder permissions as well as ownership in the case of chown.
For demonstrating the chmod command i used the flowing chart in the tutorial.
r = 4
w = 2
x = 1
r w x total
user 4+2+1 = 7
group 4+2+0 = 6
other 0+0+1 = 1
chmod 761 /path/to/file