Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!tank!eecae!cps3xx!rang From: rang@cpsin3.cps.msu.edu (Anton Rang) Newsgroups: comp.unix.wizards Subject: How do I unlink directories w/multiple links??? Summary: They're always there.... Keywords: link, unlink, directory Message-ID: <2510@cps3xx.UUCP> Date: 14 Apr 89 03:00:39 GMT Sender: usenet@cps3xx.UUCP Reply-To: rang@cpswh.cps.msu.edu (Anton Rang) Organization: Michigan State University, Computer Science Dept. Lines: 19 System: Sun-3/280, SunOS 3.5 (BSD 4.2-derived I guess). I have some directories which are hard linked together. I want to get rid of one of the links. How do I do it? rm doesn't work ("not removed"), rmdir doesn't work ("directory not empty", whether it is or not), unlink doesn't work (EPERM). Basically: /usr/users/place1/directory ... is hard linked to ... /usr/users/place2/directory and I can't get rid of either one (or both). Help? (Please E-mail if appropriate!) Thanks in advance.... +---------------------------+------------------------+----------------------+ | Anton Rang (grad student) | "VMS Forever!" | "Do worry...be SAD!" | | Michigan State University | rang@cpswh.cps.msu.edu | | +---------------------------+------------------------+----------------------+