From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id d39954ad for ; Wed, 4 Sep 2019 11:16:40 +0000 (UTC) Received: (qmail 16833 invoked by alias); 4 Sep 2019 11:15:25 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 24203 Received: (qmail 15964 invoked by uid 1010); 4 Sep 2019 11:15:25 -0000 X-Qmail-Scanner-Diagnostics: from mail-wm1-f54.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.101.2/25559. spamassassin: 3.4.2. Clear:RC:0(209.85.128.54):SA:0(-2.0/5.0):. Processed in 2.314609 secs); 04 Sep 2019 11:15:25 -0000 X-Envelope-From: luomat@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.128.54 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=R1SDrTUWPu5/ngYoEab3bO74pJ7Fcfnr4yeGrbs5qTQ=; b=gKpdZLIgd1U8NGXS7wlgeatuxZme4EEbxH9dZu05v79QNJlDrBPBqyH4ecdJOs0mVq gIszKReKQTYTRu0PknQGFT75V1pByNcoYxAFBl84PcZLT8qQZGBxizIAyi3Zh4AMlVWP GH12sx42C3AwUDLZ+fMJo2EzU5F8alP/hg5rsi+Q+jPZYQF/a4HgWOl1Q3bpOItOntQd AQEUQXMSj1P2kxBfsaNQRXgb0A8ruzm83oFhWd5TTmjsXrVANXUXfnE1VTO9hStnwVCD PqqNCcIM9mwad3cgg277fg7gs6qRJOuNg6tNEfSKMvzokJc69YHYEjW8Fbs/+3cAYCDA HAzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=R1SDrTUWPu5/ngYoEab3bO74pJ7Fcfnr4yeGrbs5qTQ=; b=ccyojkXchfA2fspmmvjM5oYTMx8KqSAFVzFy6e35KlGvbf9glmDfeMaOmsBuaf3Jql JlQ8ggXCGsDZitQT1GDKJdN19Gq0O74d8tB8eRYnPMCMabok8HpoyXh0ml5PTiY6cmry FNPV1LxwuNh8xTiB9nskTMzdDRXUEI1mGe3NYx6cOadKTUyzVFktmMLr051aBwJlzOwH xq6yekfdJZ0ckHBanxhbZlcG7LtUOCVrWYG6HDw8pza8nNhPkQ5wJyYGwXk4Rv5RBkyx QzAzvEup9G+jxUTZ8Mk7ILKj5lVuoH/6xp26XUcM1fBXqM6VdD8VnYq/iLOciAx2/uVD iXIw== X-Gm-Message-State: APjAAAUCBRQKi81L48ow5Uw8NtkjXsbufnhehNWDWKJ9y2jEwrHF+VFw uWH60Ls43s0i7GdY8KDaeC3ZplC4bI/drKKNbEU= X-Google-Smtp-Source: APXvYqzwt4D3rnixjQpLr6Du95m42Fov1043VpqyRLLzNt1b+9MrGNC5O12YA5dTfy0qzxJVHo5ZuRPpOcXq16AEmvQ= X-Received: by 2002:a1c:540c:: with SMTP id i12mr4160070wmb.90.1567595689715; Wed, 04 Sep 2019 04:14:49 -0700 (PDT) MIME-Version: 1.0 References: <1567594660.4450.9.camel@samsung.com> In-Reply-To: From: TJ Luoma Date: Wed, 4 Sep 2019 07:14:12 -0400 Message-ID: Subject: Re: "operation not permitted" To: Peter Stephenson Cc: Zsh MailingList Content-Type: text/plain; charset="UTF-8" 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?