chmod 777View (u)ser, (g)roup and (o)thers permissions for chmod 777 (chmod a+rwx) or use free on chmod calculator to modify permissions easily.Start by setting permission numbers to 777 to grant files more access, then use the chmod command to modify specific permissions for each folder in var.