If I assigned the read-only bit to an exported var and run a new shell, that var is still read-only.
However, doing the same with an exported function seems to drop the read-only status. If read-only status is supposed to be immutable, wouldn't is this desirable? (bash 4.2)