changing file permissions so that not everything is executable