Path: utzoo!utgpu!water!watmath!clyde!burl!codas!cpsc6a!cpsc6b!crs From: crs@cpsc6b.cpsc6a.att.com (Chris (Is it Friday yet?!?!?) Seaman) Newsgroups: comp.lang.c Subject: Re: system (and mkdir) Summary: There is another reason. Message-ID: <449@cpsc6b.cpsc6a.att.com> Date: 29 Jan 88 18:24:15 GMT References: <127@dcrbg1.UUCP> <9472@ccicpg.UUCP> <2771@cbdkc1.ATT.COM>, <1988Jan25.162520.22248@utzoo.uucp> Organization: AT&T (CPSC), Oakland, CA Lines: 21 In article henry@utzoo.uucp (Henry Spencer) writes: < > I may be showing my ignorance, but what ever happened to the mkdir() call? < < Alas, you are showing your ignorance: only some versions of Unix have < mkdir() as a system call. Mind you, there is no excuse for not having < it as a library function if you don't have the system call, but many < older Unixes have neither. < -- < Henry Spencer @ U of Toronto Zoology Actually, there is not much reason for worrying about whether or not there is a library function for mkdir on most (all?) System V boxes, since the mkdir system call is reserved for the super user alone. In the standard System V world, you will find that even the 'mkdir' command is setuid to root. -- Chris Seaman | o\ /o crs@cpsc6a.att.com | || See "Attack of the Killer Smiley"! ..!ihnp4!cpsc6a!crs | \vvvvvv/ Coming Soon to a newsgroup near you! | \____/