Re: how bash run by crontab is different from login bash shell?
From:
Jeffrey Walton
Subject:
Re: how bash run by crontab is different from login bash shell?
Date:
Fri, 11 Sep 2020 09:52:35 -0400
On Thu, Sep 10, 2020 at 6:41 PM Peng Yu <pengyu.ut@gmail.com> wrote:
>
> I find that this should be the fix. /usr/sbin/cron should be put there
> instead of crontab.
>
>https://osxdaily.com/2020/04/27/fix-cron-permissions-macos-full-disk-access/
OS X 10.12 and above have System Integrity Protection (SIP). SIP does
not let a non-system binary (like a user's dylib) taint system
programs (like Bash). It is a form of code injection.
Jeff