From: "Jose Gonzalez Gomez" <jgonzalez.openinput@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: Cannot remove files: operation not permitted
Date: Fri, 14 Jul 2006 22:19:02 +0000 [thread overview]
Message-ID: <306bf010607141519g63e305fax3327b4bf806bf951@mail.gmail.com> (raw)
In-Reply-To: <306bf010607141400s442c916ah3bfe9fd579c3e36b@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1061 bytes --]
2006/7/14, Jose Gonzalez Gomez <jgonzalez.openinput@gmail.com>:
>
> Hi there,
>
> I was trying to make a clean install on a disk with a previous
> installation of Gentoo on a reiserfs partition, but I wanted to keep some
> files. I thought I would be able to boot with the LiveCD, mount the
> partition, remove everything except the files I wanted to keep (moving them
> to a temporal directory) and then copy a stage3 to the partition.
>
> After mounting the partition and trying to rm -rf a directory I got a
> "Cannot remove ... operation not permitted". After googlong a while I found
> about chattr, and although it seems this is a ext2/3 tool I tried it and I
> was able to remove some files after doing a chattr -ia on them. Any way,
> there are some files I'm not able to delete, and they seem to be non regular
> files (links, linux sockets,...). Any idea why this is happening?
>
> Solved running reiserfsck --clean-attributes on the unmounted partition,
and then remounting the partition. After that I'm able to delete everything.
Best regards
Jose
[-- Attachment #2: Type: text/html, Size: 1333 bytes --]
prev parent reply other threads:[~2006-07-14 22:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-14 21:00 [gentoo-user] Cannot remove files: operation not permitted Jose Gonzalez Gomez
2006-07-14 22:19 ` Jose Gonzalez Gomez [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=306bf010607141519g63e305fax3327b4bf806bf951@mail.gmail.com \
--to=jgonzalez.openinput@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox