Xref: utzoo comp.unix.wizards:22999 alt.security:1143 Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!cs.utexas.edu!natinst!sequoia!rpp386!jfh From: jfh@rpp386.cactus.org (John F. Haugh II) Newsgroups: comp.unix.wizards,alt.security Subject: Re: Hard links to directories: why not? Message-ID: <18466@rpp386.cactus.org> Date: 22 Jul 90 14:11:31 GMT References: <5222@milton.u.washington.edu> <10527@odin.corp.sgi.com> <1990Jul19.121048.16332@cbnews.att.com> <18461@rpp386.cactus.org> <1990Jul22.035130.12559@zoo.toronto.edu> Reply-To: jfh@rpp386.cactus.org (John F. Haugh II) Organization: Lone Star Cafe and BBS Service Lines: 23 X-Clever-Slogan: Recycle or Die. In article <1990Jul22.035130.12559@zoo.toronto.edu> henry@zoo.toronto.edu (Henry Spencer) writes: >In article <18461@rpp386.cactus.org> jfh@rpp386.cactus.org (John F. Haugh II) writes: >>Aren't there better things to worry about? My favorite is why >>doesn't the ln command require the use of a -f flag to blast a >>target file? > >On sane Unix systems, ln fails if the target file exists already. On >AT&T System V UNIX(R) Operating Systems, it silently goes ahead. Some >faceless imbecile in the hordes of System V UNIX(R) Operating System >developers thought it would be cute if ln, mv, and cp all worked the >same way. Well, now I get to ask the next question ... My [ second ] favorite question is why doesn't the SunOS ln command permit the use of the -f flag for blasting an existent target flag? Before answering that question, remember that USG's stupid behavior existed before Sun's and that in the business world, one stupid decision deserves another ;-) -- John F. Haugh II UUCP: ...!cs.utexas.edu!rpp386!jfh Ma Bell: (512) 832-8832 Domain: jfh@rpp386.cactus.org