Re: [SLUG] file that can't be deleted by root

From: Eben King (eben1@tampabay.rr.com)
Date: Mon Sep 15 2003 - 21:53:25 EDT


On Tue, 16 Sep 2003, Ronald KA4INM Youvan wrote:
> somebody else wrote:
> > Hello. My reiserfs root partition has a file: /tmp/.X11-unix/X0 that I
> > can't seem to wipe. (I've just moved the parent directory to something
> > innocuous so it doesn't prevent X server zero from starting.)
>
> > root@bluefish:/var/tmp/X12-unix# ls
> > ls: X0: Permission denied
> > root@bluefish:/var/tmp/X12-unix# stat X0
> > stat: cannot stat `X0': Permission denied
> > root@bluefish:/var/tmp/X12-unix# rm -rf X0
> > rm: cannot remove `X0': Permission denied
> > root@bluefish:/var/tmp/X12-unix#

> I use the Reiser file system also, I get:
>
> root /tmp/.X11-unix> ls -l X0
> srwxrwxrwx 1 root root 0 Sep 16 02:28 X0=
>
> I'm just a user, not more, I suspect the initial "s" means something
> special

'socket'

> I assume the = means it also,

Yes. That type indication (/=directory, ==socket, *=executable, |=pipe)
occurs with 'ls -F'. Run straight 'ls' with '\ls'.

> I guess it is not a real file as the /dev directory is not real.

Why would that matter? It's not in /dev .

> What is "can't seem to wipe"?

'permission denied' on attempted removal as root.

> Why are you messing with something the operating system, file system
> or X system put there?

Well, it's X in this case. Maybe its presence prevents X from starting.
Is X exited completely (e.g., single-user mode) when you (the OP) try to
remove it? Maybe X looks for it in /var/tmp as well as /tmp.

I have /tmp/.X11-unix/X0 .

-- 
-eben    ebQenW1@EtaRmpTabYayU.rIr.OcoPm    home.tampabay.rr.com/hactar

Drive nail here > < for new monitor.

----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:32:14 EDT