Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: "operation not permitted"



Here's a weird thing:

I have recently started using

#!/usr/bin/env zsh -f

at the top of my shell scripts, so they will use /usr/local/bin/zsh if
installed or /bin/zsh if not.

If I change that to

#!/bin/zsh -f

then the script will not give the "operation not permitted" error.

And once I run it that way, I can change it back to

#!/usr/bin/env zsh -f

and it will work again.

I don't understand this at all, but maybe someone else might?



Messages sorted by: Reverse Date, Date, Thread, Author