On Thu, Oct 25, 2001 at 06:29:07PM +0530, Tathagata Banerjee wrote: > i thought the files in /tmp were not necessary. i wanted > to remove them.
Files in /tmp ARE unimportant. As a matter of fact you may opt for a strategy to remove them periodically, instead of adding to your junk. I do it ay boot up, through rc.local. > but since i wasn't sure, i decided to experiment before > i did so. so i renamed /tmp to /tmp2, and created another > directory called /tmp. and then i found i couldn't start > X. as soon as i restored the original /tmp, everything > was normal again. > > why does this happen? This is because the /tmp that you created did not have the requisite permissions for "X" (for that matter other apps too) unless run with root privileges. See LOST tip below about how to create a /tmp dir. Bish -- : ####[ Linux One Stanza Tip (LOST) ]########################### Sub : Recreating deleted /tmp LOST #006 To recreate an accidentally deleted /tmp, As root do : #cd / #mkdir tmp #chmod 1777 tmp #chown root.root tmp [Note the period (.) between the two roots in last line] ####<[EMAIL PROTECTED]>################################### : _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
