[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "set -r" and "set +o restricted"
From: |
Chet Ramey |
Subject: |
Re: "set -r" and "set +o restricted" |
Date: |
Mon, 22 Nov 2021 10:38:50 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 |
On 11/20/21 4:17 PM, Jin Xiang wrote:
> In Bash Reference Manual's "Restricted Shell" section:
> https://www.gnu.org/software/bash/manual/bash.html#The-Restricted-Shell
> The last bullet point says:
>
> - Turning off restricted mode with ‘set +r’ or ‘set +o restricted’.
>
> I am surprised to see the "+/- r" option in "set" built-in, because the
> "set" section of the manual mentions neither "-r" nor "-o restricted":
Thanks for the report.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/