Include affected command in "operation not permitted" error messages