Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Mar 1996 23:41:36 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-chat@freebsd.org
Subject:   Re: Application Development (fwd)
Message-ID:  <199603172241.XAA22694@uriah.heep.sax.de>
In-Reply-To: <199603171226.NAA10064@keltia.freenix.fr> from "Ollivier Robert" at Mar 17, 96 01:26:54 pm

next in thread | previous in thread | raw e-mail | index | archive | help
As Ollivier Robert wrote:

> > They execute /bin/mkdir (from inside a C program). !!!
> 
> I seem to remember old SysV (3.0 or maybe  even 2.x) didn't have a mkdir(2)
> syscall and that  was why /bin/mkdir was setuid-root  in order to mknod the
> directory. That's probably "legacy code" from these days :-)

Hmm.  Really SysV?  I thought the ``one-step commit'' for directory
creation was older.  At least, the ISC SVR3.2 i've once been playing
with did already have mkdir(2).

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603172241.XAA22694>