Comment by jftuga

20 days ago

I have a "flock" script that locks downs files that I do not want changed except for when I persoanlly "funlock" it.

It does the last 4 commands:

    cd ~/Library
    rm -rf IntelligencePlatform
    touch IntelligencePlatform
    xattr -w com.flock.mode 444 IntelligencePlatform
    chown root:wheel IntelligencePlatform
    chmod 444 IntelligencePlatform
    chflags schg IntelligencePlatform

Good call; just applied this myself. What other files do you lock down?

  •     .gitconfig
        .claude/settings.json (same for codex)
        .zprofile and .zshrc
        .ssh/config and id_ed25519*