Skip site navigation (1)Skip section navigation (2)
Date:       Thu, 28 Jun 2001 13:11:17 -0700
From:      ChildsC@BCRAIL.COM
To:        brigg@flatlan.net, freebsd-questions@FreeBSD.ORG
Subject:   RE: somewhat interesting rm issue
Message-ID:  <01Jun28.130929pdt.119046@gatekeeper.bcrail.com>

next in thread | raw e-mail | index | archive | help
What error messages are you getting?  Maybe the name contains some spaces.
Try rm -i blah*

Chris

-----Original Message-----
From: Brigg Angus [mailto:brigg@flatlan.net]
Sent: Thursday, June 28, 2001 1:07 PM
To: freebsd-questions@FreeBSD.org
Subject: somewhat interesting rm issue


I'm wondering if there's a way to rm a file that cannot be deleted by any of
the regular methods. For instance, I had copied the contents of the Win98 SE
reskit over from the Win98 CD to my home directory via Windows98/Samba. In
trying to remove the reskit directory, one file, .nmH7Kghj could not be
removed.  I can successfully change the name (changed too "blah"), I can
change the contents (file had an original size of 0 bytes), "chmod 777 blah"
works fine (although there have been issues with it automatically reverting
to chmod 655 here and there, with no reason I can divine), "unlink blah"
does not work, "rm -rf blah" does not work, "chflags nouunlnk blah" does not
work. When I rm or rm -rf the file there is no error message, but the file
remains.

"ls -ol blah" has yielded both,
-rw-r-xr-x  1 777  brigg  - 13 Jun 27 21:31 blah
-rwxrwxrwx  1 777  brigg  - 13 Jun 27 21:31 blah

Running 4.3-stable

Any ideas on what may be causing this, or a solution, would be appreciated.
Brigg


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01Jun28.130929pdt.119046>