Path: utzoo!attcan!uunet!auspex!guy
From: guy@auspex.auspex.com (Guy Harris)
Newsgroups: comp.unix.wizards
Subject: Re: Two identical filenames in one directory!
Message-ID: <2523@auspex.auspex.com>
Date: 30 Sep 89 19:18:39 GMT
References: <22@minya.UUCP> <2516@auspex.auspex.com> <8909300118.AA09366@beaches.hub.toronto.edu>
Reply-To: guy@auspex.auspex.com (Guy Harris)
Organization: Auspex Systems, Santa Clara
Lines: 8

>1) In both V6 and V7, root is able to write a newly creat()'ed directory.
>   This is how mkdir used to make the . and .. entries.

Wrongo.  "mkdir" made those entries with the "link" system call.

In any case, UNIX never let user-mode programs running as root open a
directory for writing, even if bugs caused it not to properly check
whether "core" was a directory.