Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site ncoast.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxj!houxm!whuxlm!akgua!mcnc!decvax!cwruecmp!atvax!ncoast!bsa From: bsa@ncoast.UUCP (Brandon Allbery (the tame hacker on the North Coast)) Newsgroups: net.unix Subject: Re: Problem with patch and infinit directories Message-ID: <563@ncoast.UUCP> Date: Thu, 24-Jan-85 10:03:01 EST Article-I.D.: ncoast.563 Posted: Thu Jan 24 10:03:01 1985 Date-Received: Sun, 27-Jan-85 07:46:25 EST References: <7464@brl-tgr.ARPA> <2547@umcp-cs.UUCP> Reply-To: bsa@ncoast.UUCP (Brandon Allbery (the tame hacker on the North Coast)) Organization: The North Coast Xenix System, Cleveland Lines: 22 Summary: > Article <2547@umcp-cs.UUCP>, from chris@umcp-cs.UUCP (Chris Torek) +---------------- | > The restriction about linking directories is built into | > the link program. | | Not in 4.2BSD it's not! I think it was in the 4.1 kernel as well. | (I haven't seen any other kernel sources, so I wouldn't know about | V6/V7/Sn.) V7 allows it; it's how /bin/mkdir works. In fact, I just had to write a custom mkdir because /bin/mkdir was using the wrong uid to compute access permissions. I can see why 4.2's mkdir system call would be useful. Also: Plexus P/35 (System III) has /etc/link which links directories and is billed to be /bin/ln without error checking (for root only). --bsa -- Brandon Allbery @ decvax!cwruecmp!ncoast!bsa (..ncoast!tdi1!bsa business) 6504 Chestnut Road, Independence, Ohio 44131 +1 216 524 1416 (or what have you) Who said you had to be (a) a poor programmer or (b) a security hazard to be a hacker?