From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1G1Uxi-0003TQ-LI for garchives@archives.gentoo.org; Fri, 14 Jul 2006 21:12:39 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k6ELAMT1020486; Fri, 14 Jul 2006 21:10:22 GMT Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k6EL0mVc028010 for ; Fri, 14 Jul 2006 21:00:48 GMT Received: by ug-out-1314.google.com with SMTP id m2so14103ugc for ; Fri, 14 Jul 2006 14:00:48 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=ZBobrvK7nKbVIGv/jcuuNAUUSakEs2NZqMCNfF3auQVw7PXB2DtM1VsU4jDLMxuOeihiV+DFH8PGV+AebgwzXwSaBm18AP1T4ZrWwDHa8Vew1QPVoStTltdbGA/Ba6cPGPzZq534yXrpEHgef+82UQ1ZltmQfp/PZ3gASWiFlKI= Received: by 10.78.185.7 with SMTP id i7mr1860543huf; Fri, 14 Jul 2006 14:00:48 -0700 (PDT) Received: by 10.78.118.5 with HTTP; Fri, 14 Jul 2006 14:00:47 -0700 (PDT) Message-ID: <306bf010607141400s442c916ah3bfe9fd579c3e36b@mail.gmail.com> Date: Fri, 14 Jul 2006 21:00:47 +0000 From: "Jose Gonzalez Gomez" To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Cannot remove files: operation not permitted Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_16627_18143959.1152910847686" X-Archives-Salt: 853996be-f3bb-4e85-8fe0-f9b9a9e0fb1d X-Archives-Hash: bf9ecb421a5b90a857a61fb550669a1d ------=_Part_16627_18143959.1152910847686 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 ------=_Part_16627_18143959.1152910847686 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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
------=_Part_16627_18143959.1152910847686-- -- gentoo-user@gentoo.org mailing list