Command cleanup for permission trust.