[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: undeletable 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: d.wright@open.ac.uk  tel: +44 1908 653 739  fax: +44 1908 655 151

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: