From: hce on
Hi,

I have some files which seems corrupted, I could not remove those
files (even "sudo rm *" won't work with errors "Operation not
permitted") and I could not make a backup because of those corrupted
files. Appreciate any advice how to remove or recover from those
corrupted files?

Thank you.

Kind Regards,

Jupiter


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/95455e981003160405h4a50b26ao69ef245fca77b2d6(a)mail.gmail.com
From: Ron Johnson on
On 2010-03-16 06:05, hce wrote:
> Hi,
>
> I have some files which seems corrupted, I could not remove those
> files (even "sudo rm *" won't work with errors "Operation not
> permitted")

That doesn't look like a *corruption* issue.

> and I could not make a backup because of those corrupted
> files. Appreciate any advice how to remove or recover from those
> corrupted files?
>

Corrupted *memory* is unlikely.

Probably PEBKAC (happens to me all the time!) or corrupted fs or
corrupted disk.

Paste the *exact* command with the *exact* output (preferably also
with an "ls -aFl" listing of the directory). If it's too large or
wide for email, throw it onto a website and give us the link.

--
Obsession with "preserving cultural heritage" is a racist impediment
to moral, physical and intellectual progress.


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/4B9F7EDA.60108(a)cox.net
From: Brett on
>I have some files which seems corrupted, I could not remove those
>files (even "sudo rm *" won't work with errors "Operation not
permitted") and I could not make a backup because of those >corrupted
files. Appreciate any advice how to remove or recover from those
>corrupted files?

I recently had a usb stick lose its inode information, meaning I could no longer access the files. PhotoRec managed to recover a lot of them. TestDisk is also worth a try.
Brett.



From: hce on
On Tue, Mar 16, 2010 at 11:51 PM, Ron Johnson <ron.l.johnson(a)cox.net> wrote:

> Paste the *exact* command with the *exact* output (preferably also with an
> "ls -aFl" listing of the directory).  If it's too large or wide for email,
> throw it onto a website and give us the link.

~/wxGTK-2.8.10/samples/config$ ls -aFl
total 8
drwxr-xr-x 2 jupiter jupiter 4096 2010-03-14 16:28 ./
drwxr-xr-x 5 jupiter jupiter 4096 2010-03-14 16:28 ../
dr-s-w---T 24576 2594201913 1635839568 1637221952 1970-01-01 10:00 config.bkl/
?--Sr-s--T 25018 3449839616 1637218816 0 2021-12-06 15:48 conftest..rc
?--------- 24981 root 53408 306 1970-01-01 10:00 makefile..vc

~/wxGTK-2.8.10/samples/config$ rm -rf *
rm: cannot chdir from `.' to `config.bkl': Permission denied
rm: cannot remove `conftest.rc': Operation not permitted
rm: cannot remove `makefile.vc': Operation not permitted

Thanks Ron and Brett.

Jupiter


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/95455e981003170225t706f31eaxc7a99c8562a0f0e1(a)mail.gmail.com
From: Andrei Popescu on
On Wed,17.Mar.10, 20:25:27, hce wrote:
> On Tue, Mar 16, 2010 at 11:51 PM, Ron Johnson <ron.l.johnson(a)cox.net> wrote:
>
> > Paste the *exact* command with the *exact* output (preferably also with an
> > "ls -aFl" listing of the directory).  If it's too large or wide for email,
> > throw it onto a website and give us the link.
>
> ~/wxGTK-2.8.10/samples/config$ ls -aFl
> total 8
> drwxr-xr-x 2 jupiter jupiter 4096 2010-03-14 16:28 ./
> drwxr-xr-x 5 jupiter jupiter 4096 2010-03-14 16:28 ../
> dr-s-w---T 24576 2594201913 1635839568 1637221952 1970-01-01 10:00 config.bkl/
> ?--Sr-s--T 25018 3449839616 1637218816 0 2021-12-06 15:48 conftest.rc
> ?--------- 24981 root 53408 306 1970-01-01 10:00 makefile.vc
>
> ~/wxGTK-2.8.10/samples/config$ rm -rf *
> rm: cannot chdir from `.' to `config.bkl': Permission denied
> rm: cannot remove `conftest.rc': Operation not permitted
> rm: cannot remove `makefile.vc': Operation not permitted

Did you try fsck-ing the filesystem?

Regards,
Andrei
--
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic