fixed agent log directory permissions