Read Write Execute x - 1 w - 2 r - 4 Combine them :) example 755 0755/drwxr-xr-x chmod Change persmissions with chmod Bashsudo chmod 644 somefile.sh or Bashsudo chmod u=rw,g=r,o=r somefile.sh -u user -g group -o other chown Change ownership Bashsudo chown username:groupname somefile.sh