Am 02.08.2013 16:49, schrieb Jatin K:
On Friday 02 August 2013 12:54 PM, Reindl Harald wrote:
> Am 02.08.2013 08:59, schrieb Darlene Wallach:
>> I somehow deleted /tmp when I was deleting files from /tmp to make room
>> One time I saw the login options - when I logged in I only saw a black screen.
>> Other than doing an install, is there a way to recover the files in /tmp?
>> argh! It pays to be very careful deleting things as root!
>> A lesson learned the hard way!
> the files are irrelevant
>
> the folder with the correct permissions is important
> /tmp needs chmod 1777 (everybody is allowed to write
> but only the onwer can open his temp-files)
>
> mkdir /tmp
> chmod 1777 /tmp
>
> in doubt reboot after that
>
I think it should be sticky bit enabled
chmod +t /tmp
what do you think is the 1 of 1777 :-)