Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!qantel!lll-lcc!lll-crg!seismo!brl-adm!brl-smoke!gwyn From: gwyn@brl-smoke.ARPA (Doug Gwyn ) Newsgroups: net.unix-wizards Subject: Re: mkdir(2) on System V Message-ID: <336@brl-smoke.ARPA> Date: Mon, 28-Apr-86 00:12:25 EDT Article-I.D.: brl-smok.336 Posted: Mon Apr 28 00:12:25 1986 Date-Received: Fri, 2-May-86 22:42:28 EDT References: <663@imag.UUCP> Reply-To: gwyn@brl.ARPA Organization: Ballistic Research Lab (BRL) Lines: 8 In article <663@imag.UUCP> paire@imag.UUCP (Eric PAIRE) writes: >UNIX system V users may have remarqued there is no "mkdir(2)" system call. It >is replaced by "mknod(2)", but must be executed only by super-user. Why >is it necessary to be super-user for creating an own directory ? Because mknod() does not create the "." and ".." entries. A non-privileged user on UNIX System V needs to run the "mkdir" command to create a directory. You can do this using system().