Cannot delete stubborn files
petermatulis at yahoo.ca
Sun Jun 4 06:17:13 PDT 2006
--- Jack Stone <antennex at hotmail.com> wrote:
> I have 2 files that resists all efforts to delete them. I can even
> move them
> to another directory, but still cannot delete. Can chmod too, but
> still same
> I originally figured they occupied a bad spot on the HD, but now not
> about that.
> Please, any suggestions about what to do to remove these files?
> Here are the files and the error message:
> rm: local/lib/perl5/5.6.1/mach/Sys/Hostname.pm: Operation not
> rm: local/lib/perl5/5.6.1/mach/Sys/Syslog.pm: Operation not permitted
> I've gone all the way down to the last dir and tried to delete them
> No joy!
> All directories in between only include the dirs and no files. I want
> delete the entire path of directories, but those 2 stubborn files
> will not
> permit that.
> rm: local/lib/perl5/5.6.1/mach/Sys: Directory not empty
# rm -rf local/lib/perl5/5.6.1/mach/Sys
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
More information about the freebsd-questions