chmod 777Using chmod 777 fileStart 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.