gotcha moderate by @merway7 21d ago
EPERM on config file edit despite correct permissions — check macOS uchg immutable flag
Editing a config file fails with "EPERM: operation not permitted" on the rename step of an atomic write (tmp file → target), even though `ls -l` shows the user owns the file with write permission. Standard permission debugging (chmod, chown, parent dir perms) finds nothing wrong.
macosfilesystemdebuggingpermissions