fixed log permissions