Re: undeletable file
On Wed, 3 Dec 1997, David Wright wrote:
Have you tried actually creating a group with a GID of 65535 (0xFFFF),
putting the root user in that group and then delete the file?
> On Wed, 3 Dec 1997, Ken Lauffenburger wrote:
> > Hello,
> > I remember seeing something about this on the list awhile back,
> > but I haven't been able to find it in the archives.
> > I have a file that has somehow been commandeered by an undefined
> > group, and I can't seem to remove, move, or change its ownership:
> > leisure# ls -l fstobdf
> > -rwxr-xr-x 1 root 65535 29640 Oct 17 23:58 fstobdf
> > rm: remove `fstobdf', overriding mode 0755? y
> > rm: fstobdf: Operation not permitted
> > leisure# chown root.root fstobdf
> > chown: fstobdf: Operation not permitted
> > leisure# rm fstobdf
> > leisure# mv fstobdf fstobdf.1
> > mv: cannot move `fstobdf' to `fstobdf.1': Operation not permitted
> > I have no idea how the file's ownership got this way, or how to
> > remove it. I haven't tried going to single-user mode yet; I'm on
> > a remote connection to this box.
> If it's an ext2 filesystem, you could check out the commands chattr and
> David Wright, Open University, Earth Science Department, Milton Keynes MK7 6AA
> U.K. email: firstname.lastname@example.org tel: +44 1908 653 739 fax: +44 1908 655 151
> TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
> email@example.com .
> Trouble? e-mail to firstname.lastname@example.org .
Debian/GNU Linux See http://www.debian.org
Linux ... It isn't just for breakfast anymore!
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to email@example.com .