Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Apr 2001 22:24:43 +0100
From:      Ben Smithurst <ben@FreeBSD.org>
To:        Ilya <mail@krel.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: cant remove files with "operation not allowed error"
Message-ID:  <20010410222443.D8173@scientia.demon.co.uk>
In-Reply-To: <20010410161726.A25069@krel.org>
References:  <20010410161726.A25069@krel.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Ilya wrote:

> Hi, on my laptop i went for current to see if it will help me out
> with pcmcia, it didnt, so i went back to stable. but now there are
> several files i cannot delete (some lib files and old kernel modules),
> rm doesnt work, i can cp them, i can mv them in same partition, but
> not to a different one. one time i got crosslink error, but i always
> get "operation not allowed" when i try to remove them. i have run
> fsck numerouse times and it had found no problems with my drives. any
> suggestions?

Please wrap your lines at around 76 characters, it makes your message much
easier to read...

On to the problem...  What does `ls -lo' show on the problematic files?
It may have some flags set, in which case `chflags 0' on the files in
question will clear those flags and allow you to delete them.

-- 
Ben Smithurst / ben@FreeBSD.org

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?20010410222443.D8173>