On Sat, Oct 20, 2001 at 12:40:27AM +0000, Puneet Gupta wrote: > Hi, > > I get an error 'Can't read lock file /tmp/.X0-lock' everytime > I try to start X. Earlier, stupidly, I had deleted /tmp to > free up space. Now I have a /tmp as a symlink to /misc/tmp > which is on another partition. I have not been able to run X. > Any suggestions? > > --__--__-- ---end quoted text---
Please note that permissions for /tmp are specific ... See LOST snippet below for details. In your case both "/misc/tmp" and "/misc" should have a 1777 tag, for rwx access by all, and is to have a root.root ownership. 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
