What is Nostr?
Steve Bellovin /
npub1dk3…9d5z
2024-09-23 22:50:09
in reply to nevent1q…zd58

Steve Bellovin on Nostr: npub1h8k94…qerlv I strongly suspect that it’s historical. In particular: if ...

npub1h8k94vzcctr4x2rhzawkckryezu7kvpeg7de6y06lkhg2z5pfymskqerlv (npub1h8k…erlv) I strongly suspect that it’s historical. In particular: if rmdir(2) dates to 4.2bsd, how did one remove directories before that. The answer can be found by looking at the source to, e.g., v7 rmdir at https://www.tuhs.org/cgi-bin/utree.pl?file=V7/usr/src/cmd/rmdir.c — it simply unlinked the directory. Only root could do that (and yes, rmdir(1) was setuid (and I think insecure against race conditions), but without good locking (and Unix didn't have good locking then) you could end up with a tree mess if non-empty.
Author Public Key
npub1dk39y0fzlcstnc3y6w3l4g9fvc54us78adl9t6vala9hd206pfdqxl9d5z