Storing flax seed

I bought flax seed from a bulk store which I grind with a coffee grinder and and to my morning smoothie.
I used to buy ground flax but I was told that the oils in ground flax decay rather quickly at room temperature making it nutritionally useless.
Since the whole flax seed is kept at room temperature in the store, can I keep my whole flax in a cupboard or is there a reason it needs to be stored in the refrigerator or freezer?

I always store my whole flax seed at room temperature. Until the seed coat is opened, the oils inside stay fresh. If you’re using it as a fiber supplement you can grind it ahead of time, but as an omega-3 source you should use it as soon as possible after grinding.

I purchase pre-ground flax seed. It comes packaged in an oxygen impermeable plastic bag. Once opened, I store it in the refrigerator. I think the key is oxygen, not temperature. But low temperature does slow down the spoilage rate.