Re: undeletable file
On Wed, Dec 03, 1997 at 10:41:09AM -0600, Ken Lauffenburger wrote:
> 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?
This is probably a problem with the ext2fs attributes. Take a look
at lsattr(1) and chattr(1).
Hope this helps.
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to email@example.com .