Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Mar 1996 13:26:54 +0100 (MET)
From:      Ollivier Robert <roberto@keltia.freenix.fr>
To:        joerg_wunsch@uriah.heep.sax.de
Cc:        narvi@haldjas.folklore.ee, freebsd-chat@freebsd.org
Subject:   Re: Application Development (fwd)
Message-ID:  <199603171226.NAA10064@keltia.freenix.fr>
In-Reply-To: <199603170840.JAA10092@uriah.heep.sax.de> from J Wunsch at "Mar 17, 96 09:40:25 am"

next in thread | previous in thread | raw e-mail | index | archive | help
It seems that J Wunsch said:
> Do you know what they're doing in order to create a new directory?
> 
> 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 :-)
 
-- 
Ollivier ROBERT    -=- The daemon is FREE! -=-    roberto@keltia.frmug.fr.net
   FreeBSD keltia.freenix.fr 2.2-CURRENT #6: Mon Mar 11 20:18:10 MET 1996



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