Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
"operation not permitted"
- X-seq: zsh-users 24200
- From: TJ Luoma <luomat@xxxxxxxxx>
- To: Zsh MailingList <zsh-users@xxxxxxx>
- Subject: "operation not permitted"
- Date: Wed, 4 Sep 2019 06:42:45 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=RsQiLO+AW27qdlKim4HVLn3xiAnL1KsSGIiHhHp5rhY=; b=BHdeuCIS9CEhj5gVo06KvtZsY/d3Dt/DFsAYx9gXm7jzVIwFnX7TOVb7YN971BfOEE GukVYgrNaRluuTt0TBo3bGr8azGVPFtRlmGm85hg0pdYnsgAKmgeDqctD4FQBZ9gYyTq MLD+Wo094HVPonpYlKL9sRm6sP+qt5VrNmZ45UOmiSvkNnSTUiY7303uAQEBuI9Tn3TT NOdoNj2Ft5YPNWRT1kWXU7h4mgO6ZDjHpJj9hrWJihiykiEClJwD1thUCCB0TlV11LeG 17RKYxVwBx57uhNwzSQugidxosvPiW2z0RoljEbTwNiBBnvZf1GTfzs6ezTwnUG8gwyt wuvA==
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
I just did a clean install of macOS 13 (High Sierra) and have
encountered a few zsh shell scripts which say "operation not
permitted" when I try to run them
zsh: operation not permitted: register-fluid.sh
but if I do this
zsh =register-fluid.sh
then it works fine.
The shell script is in my $PATH and is executable. It's not doing
anything fancy. In fact I can include it here.
#!/usr/bin/env zsh -f
# Purpose:
#
# From: Timothy J. Luoma
# Mail: luomat at gmail dot com
# Date: 2019-09-04
NAME="$0:t:r"
if [[ -e "$HOME/.path" ]]
then
source "$HOME/.path"
else
PATH='/usr/local/scripts:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin'
fi
TARGET="${HOME}/Library/Application Support/Fluid/TimothyLuoma.fluid2license"
if [[ -e "$TARGET" ]]
then
echo "$NAME: '$TARGET' already exists."
exit 0
fi
[[ ! -d "$TARGET:h" ]] && mkdir -p "$TARGET:h"
cp -vn "$HOME/.config/licenses/fluid/TimothyLuoma.fluid2license" "$TARGET"
exit 0
#EOF
Any ideas why I'm getting "operation not permitted" for this?
Thanks!
Tj
Messages sorted by:
Reverse Date,
Date,
Thread,
Author