Summary: ROOT CAN'T REMOVE DIRECTORY...

From: BCN (Bios Computing and Networks) <"BCN>
Date: 20 Jan 97 14:03:58 -1000

My original question...
                   We have an AlphaStation 400 4/233 with DU3.2 and running
Pathworks 5.0f (LanManager 2.2) on the top.
        I copied some shares from one disk to another, and used "rm -r
<directory>" to delete the original data. Then, in place of the original
directory, created a symbolic link "ln -s ...." to keep the Pathworks share
paths happy.
        This worked fine with four of the five shares that I moved.
Unfortunately, when using "rm -r <directory>" on the last, everything below the
directory was deleted, but the actual directory was left with the message..
 "rm: <directory>: Permission denied".

        Attempting to use "rmdir <directory>" returned the message...
  "rmdir: <directory>: Device busy". N.B This is not a mounting point for the
disk.
        Without removing the directory I cannot create the symbolic link.

        To get round the problem, I have recreated the share with a new path
pointing to the copied data, but I still have a directory which I cannot remove!

Any ideas on how to remove this directory???Please?

------------------------------------------------------------------------

Thanks to: Eric Bennet, Dave Sill, Bruce Whittaker, Hellebo Knut, Carlos dos
Santos, Matt Moore, Michael Kline and Norbert Kasperczyk-Borgmann for their
replies.

        Sorry to waste your time. The directory WAS an NFS mounting point. I
thought I knew where all the mounting points were... obviously not! No wander
root didn't want to remove the directory!

David Shaw




  
Received on Mon Jan 20 1997 - 05:14:26 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:47 NZDT