Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
dexen
· 3y ago · 0 comments
"Append-only files" would be a great fit here: to ensure regular users and bots don't modify others' posts. Sadly this Plan 9 functionality is not ported to Linux yet. That's a permission bit, similar to "read" or "write", but even more specific.
Comments
[–]
HerrMonnezza
3y ago
IIRC, Linux' ext2/3/4 support an 'a' attribute that make a file append-only.
[–]
ComodoHacker
3y ago
Not so great if you're talking about real use cases where moderation is mandatory.
[–]
Pannoniae
3y ago
Moderation is never mandatory, it's just something most people desire.
[–]
linschn
3y ago
The host owner (there's no root on Plan 9) can change those permissions and edit the file if need be.