If I unset BASH_ENV, the "Permission denied" message goes away but the local messages remain. But there's nothing wrong with my BASH_ENV, as can be seen from the ". $BASH_ENV" command in the shell transcript below.
506-day $ echo $BASH_ENV /home/eggert/.bashrc 507-day $ . $BASH_ENV 508-day $ firefox --version /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8) /bin/bash: /home/eggert/.bashrc: Permission denied Mozilla Firefox 102.0.1 509-day $ unset BASH_ENV 510-day $ firefox --version /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8) Mozilla Firefox 102.0.1 511-day $
If I unset BASH_ENV, the "Permission denied" message goes away but the local messages remain. But there's nothing wrong with my BASH_ENV, as can be seen from the ". $BASH_ENV" command in the shell transcript below.
506-day $ echo $BASH_ENV eggert/ .bashrc .bashrc: Permission denied
/home/
507-day $ . $BASH_ENV
508-day $ firefox --version
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8)
/bin/bash: /home/eggert/
Mozilla Firefox 102.0.1
509-day $ unset BASH_ENV
510-day $ firefox --version
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8)
Mozilla Firefox 102.0.1
511-day $