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

Re: undeletable file



On Wed, Dec 03, 1997 at 10:41:09AM -0600, 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.
> 
> Any suggestions?
> 
> Thanks.
> 
> --ken

This is probably a problem with the ext2fs attributes.  Take a look
at lsattr(1) and chattr(1).

Hope this helps.

Adam Klein


--
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: