On Mon, 2026/04/20 02:50:52PM -0400, D. Hugh Redelmeier via Talk <talk@lists.gtalug.org> wrote: | > From: Giles Orr via Talk <talk@lists.gtalug.org> | | > I can name one other circumstance where I've used `source` to run a | > script. A bit hacky, but useful. Sometimes partitions or external | > media are mounted with the execute bit set off. (This is a good | > security practice for unknown media, but annoying for "my" drives.) | > In that case, you can't directly run the script. You either have to | > copy it to another part of the filesystem or use `source`. It works - | > mostly. | | Right. Maybe use | ( . scriptfile ) | to avoid affecting your environment? Or "sh scriptfile" ... % cat hello #!/bin/sh echo hi there % chmod 755 hello % ./hello bash: ./hello: Permission denied % sh hello hi there