read-only flag is lost for functions in sub shells
From:
Linda Walsh
Subject:
read-only flag is lost for functions in sub shells
Date:
Wed, 30 Jul 2014 15:11:55 -0700
User-agent:
Thunderbird
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)