public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jose Gonzalez Gomez" <jgonzalez.openinput@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Cannot remove files: operation not permitted
Date: Fri, 14 Jul 2006 21:00:47 +0000	[thread overview]
Message-ID: <306bf010607141400s442c916ah3bfe9fd579c3e36b@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 834 bytes --]

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?

Thanks in advance, best regards
Jose

[-- Attachment #2: Type: text/html, Size: 876 bytes --]

             reply	other threads:[~2006-07-14 21:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-14 21:00 Jose Gonzalez Gomez [this message]
2006-07-14 22:19 ` [gentoo-user] Re: Cannot remove files: operation not permitted Jose Gonzalez Gomez

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=306bf010607141400s442c916ah3bfe9fd579c3e36b@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