Fixed log directory permissions.