On Mon, Jan 05, 2004 at 09:09:27PM +0100, Felipe Alfaro Solana wrote: > On Mon, 2004-01-05 at 19:09, WipeOut wrote: > > I have a dir that I can't seem to delete and is giving strange errors.. > > > > [root@dev02 i386]# ls > > ls: ??*?: Invalid or incomplete multibyte or wide character > > test > > [root@dev02 i386]# rm -rf test > > rm: cannot remove directory `test': Directory not empty > > [root@dev02 i386]# cd test > > [root@dev02 test]# ls > > ls: : No such file or directory > > > > Anyone got any super commands for getting rid of a directory that just > > will not go? > > If everything else fails, I recommend using "fsck" to checl the > filesystem integrity. If this is on an ext2 or ext3 filesystem, one other possibility might be that someone has set the "immutable" flag on the directory or its contents. See the man pages for "chattr" and "lsattr". Fred -- ---- Fred Smith -- fredex@xxxxxxxxxxxxxxxxxxxxxx ----------------------------- But God demonstrates his own love for us in this: While we were still sinners, Christ died for us. ------------------------------- Romans 5:8 (niv) ------------------------------
Attachment:
pgpxx2XYbaZuJ.pgp
Description: PGP signature