Re: deleted /tmp now kde/gnome won't work

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

 



On Mon, 2004-12-13 at 19:44 -0400, Jorge Fábregas wrote:
> 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

sorry little finger bug there!! what I did was rm -rf /tmp/*

at least I didn't type rm -rf /     !!!!!!

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

/tmp is still there, ls -ld gives

drwxrwxrwt 42 root root 4096 Dec 14 17:46 /tmp

Laurence
-- 



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux