Remix.run Logo
▲ jftuga a day 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
▲bayganyo 19 hours ago | parent [-]

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

▲jftuga 19 hours ago | parent [-]

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