deleted /tmp now kde/gnome won't work
Jorge Fábregas
fabregasj at prtc.net
Mon Dec 13 23:44:39 UTC 2004
On Monday 13 December 2004 7:29 pm, Laurence Orchard wrote:
> I was running out of space on / , so I thought
>
> <lightbulb on>
> !I know I'll clear /tmp cos it's 100M!
> </lightbulb off>
>
> Very easy rm -rf /tmp
Hello Laurence,
Well...I think what you wanted to do was:
rm -rf /tmp/*
and NOT:
rm -rf /tmp
There's a big difference on the above commands. On the last one (the one you
used) you wiped everything inside /tmp and also wiped /tmp itself!
When I clean /tmp (which I rarely do because the system takes care of it) I
switch to runlevel 3. While running at runlevel 5 most desktop enviroments
(KDE , Gnome) use /tmp so shouldn't do it while X is running.
Ok, did you create the tmp directory again? If not, do it like this (as root
of course):
init 3
cd /
mkdir tmp
chmod 1444 tmp
init 5
...and then see it everything works again.
HTH,
Jorge
More information about the fedora-list
mailing list