AFNI Installation issue: zsh permission denied on MacOS Ventura 13.6.9 Intel Processor

Hello,

I am following the installation instructions for MacOS 12+ (Intel processor/chip) (1.1.9. macOS 12+ (Intel processor/chip) — AFNI, SUMA and FATCAT: v24.3.10). I have administrator permissions on the laptop.

After completing the curl step to download the macOS notes .zsh github files, I cannot progress past this step:
zsh OS_notes.macos_12_intel_a_admin_pt1.zsh

without getting this error:
OS_notes.macos_12_intel_a_admin_pt1.zsh:52: permission denied: /Users/kellymartin/.zshrc

Homebrew is installed and up to date in /usr/local/Homebrew
Python 3.13.1 is installed
XQuartz is installed and up to date
Terminal has Full Disk Access
ls -l /Users/kellymartin/.zshrc returns -rwxr-xr-x (I set these permissions after getting the error)

I see that zsh errors are relatively common and frustrating for Mac users in general (e.g., How to Fix Zsh Permission Denied in Mac Terminal?) but I haven't been able to find a fix for AFNI installation. The solutions I'm seeing for other programs involve having local versions of the installation docs, but as of now I'm still using the curl -0 approach from the AFNI instructions, which access the installation documents remotely.

Any help would be greatly appreciated.

I suspect the ls -l on your .zshrc file also shows an owner that is not your user name. You can use the chown command to change the owner.

sudo chown username ~/.zshrc

Yes, that was the issue. Unfortunately my institution installed some very inconvenient security blocks on my laptop, and I cannot change the permissions with sudo chown. I am using a different laptop and have gotten further along in the installation. Thanks for your response!