removing weired file from ext3 filesystem
Sven Richter
sveri-list at gmx.de
Mon Feb 25 15:54:07 UTC 2008
On Monday 25 February 2008 16:31:41 jack wrote:
> On Mon, 2008-02-25 at 16:16 +0100, Sven Richter wrote:
> > On Monday 25 February 2008 15:18:38 jack wrote:
> > > On Mon, 2008-02-25 at 06:19 -0700, Karl Larsen wrote:
> > > > Sven Richter wrote:
> > > > > Hi,
> > > > >
> > > > > i have a big problem here.
> > > > >
> > > > > I have a backup hard drive with an ext3 partition.
> > > > > One of my friends made a backup on it with some gentoo portage
> > > > > things.
> > > > >
> > > > > Now that he is gone i wanted to delete the 4 files which are taking
> > > > > 8GB away but i am not allowed to do so.
> > > > >
> > > > > And it is really weired.
> > > > >
> > > > > Here is the output from ls -lisa in the directory:
> > > > > 2294475 4 drwsrwsrwt 1 garfield garfield 4096 2008-02-25
> > > > > 13:57 . 2294466 4 drwsrwsrwt 3 garfield garfield 4096
> > > > > 2008-02-24 17:40 .. 2295969 0 ?r-S-w-rwx 22388 1493481812
> > > > > 2730945560 0 1994-07-14 01:13 xs_colors.h
> > > > > 2295970 0 ?-w--wSrwT 11213 1860258772 3079427123 0 1994-03-27
> > > > > 20:32 xs_hsv.c
> > > > > 2295973 0 ?r-Sr-srw- 41851 2051597284 2199566066 0 1951-07-26
> > > > > 13:33 xs_visual.c
> > > > > 2295975 0 ?r-srwxr-x 32895 3767851949 2220932723 0 1941-10-18
> > > > > 11:42 xs_yarandom.h
> > >
> > > Have you tried
> > > cd <effected directory>
> > > sudo chmod -S xs_colors.h
> > > sudo chmod -s xs_yarandom.h
> > > sudo chmod -S xs_hsv.c
> > >
> > > then rm -f <filename>
> > >
> > > or even
> > > sudo erase <effected directory>>
> >
> > I gave it all a try, but chmod doesnt know the -S option and i cant
> > find something like erase :(
> > When i want to open a file with vim it tells me that neither of them
> > is a file.
> > Very odd.
> > This friend lived together with us until today, he moved because
> > he got a new job.
> > I dont think he wants to harm us.
> > But i am a little bit suspicious.
>
> Ok. How about
> sudo bash
> <pass>
> # chown <you>:<you> /directory/where/these/files/live/*
I could change the owner of the directory, but not of the files :(
More information about the ubuntu-users
mailing list