(a)
A security interest or agricultural lien is subordinate to the rights of both of the following:
(1)
A person entitled to priority under Section 9322.
(2)
Except as otherwise provided in subdivision (e), a person that becomes a lien creditor before the earlier of the time the security interest or agricultural lien is perfected, or one of the conditions specified in paragraph (3) of subdivision (b) of Section 9203 is met and a financing statement covering the collateral is filed.
(b)
Except as otherwise provided in subdivision (e), a buyer, other than a
secured party, of tangible chattel paper, tangible documents, goods, instruments, or a certificated security takes free of a security interest or agricultural lien if the buyer gives value and receives delivery of the collateral without knowledge of the security interest or agricultural lien and before it is perfected.
(c)
Except as otherwise provided in subdivision (e), a lessee of goods takes free of a security interest or agricultural lien if the lessee gives value and receives delivery of the collateral without knowledge of the security interest or agricultural lien and before it is perfected.
(d)
A licensee of a general intangible or a buyer, other than a secured party, of collateral other than tangible chattel paper, tangible documents, goods, instruments, or a certificated security takes free of a security interest if the licensee or buyer gives value without knowledge of
the security interest and before it is perfected.
(e)
Except as otherwise provided in Sections 9320 and 9321, if a person files a financing statement with respect to a purchase money security interest before or within 20 days after the debtor receives delivery of the collateral, the security interest takes priority over the rights of a buyer, lessee, or lien creditor which arise between the time the security interest attaches and the time of filing.