'zsh: operation not permitted: ./anyscript.sh' ... A new error message from Terminal.app:
0
votes
1
answer
115
views
I recently updated my Ventura OS to 13.7.5 (from 13.7.4.?). I am now getting this mysterious error message whenever I try to run a script that is written in
bash
:
# NOTE: the pwd is the same folder that "anyscript.sh" is located in
% ./anyscript.sh
zsh: operation not permitted: ./anyscript.sh
##### FWIW:
>I use a current version of bash
that I installed from "MacPorts": GNU bash, version 5.2.37(1)-release (aarch64-apple-darwin22.6.0)
I get the same error if I try the "full path"; i.e.:
% /Users/seamus/scripts/anyscript.sh
zsh: operation not permitted: /Users/jmoore/scripts/rsync_pswdsafe/pwsafe_bkup.sh
I just viewed the "update log" for 13.7.5, and it seems Apple's motivation for this unusual late-term update is "security issues". Nothing I saw in [Apple's update log](https://support.apple.com/en-us/122375) suggested an association with this issue, but:
* it's happened since the update
* Apple has a record of breaking things during updates!
Has anyone else had similar issues - or have a clue as to what this update might have wrought - or how to roll back the update - or have a cogent theory on how to fix the problem?
Asked by Seamus
(5329 rep)
Apr 22, 2025, 01:22 AM
Last activity: May 22, 2025, 10:40 PM
Last activity: May 22, 2025, 10:40 PM