Skip to content
Discussion options

You must be logged in to vote

If you're on macOS, it isn't the files, it's LMDB's lock. fff keeps frecency/history in LMDB through heed 0.22 (Cargo.toml) without heed's posix-sem feature, and on macOS LMDB then locks with SysV semaphores: ftok() on lock.mdb, then semget()/semctl() (mdb.c, here). nono's Seatbelt profile starts from (deny default) and never allows ipc-sysv-sem; even ipc_mode: "full" only adds ipc-posix-sem* (macos.rs, v0.80.0). So semget gets EPERM, heed reports Operation not permitted (os error 1), and nono logs nothing because no file read or write was refused.

Fix: allow SysV semaphores in a profile you own. nono only applies raw Seatbelt rules from user profiles (it strips them from pack and built-i…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@black-snow
Comment options

@dgesteves
Comment options

Answer selected by black-snow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants