Subject to any limitations on a trustee serving in a case under this chapter, and to such limitations or conditions as the court prescribes, a debtor in possession shall have all the rights, other than the right to compensation under
section 330 of this title, and powers, and shall perform all the functions and duties, except the duties specified in sections 1106(a)(2), (3), and (4) of this title, of a trustee serving in a case under this chapter.