I somehow managed to delete /tmp now I get errors when I try to boot and login

Reindl Harald h.reindl at thelounge.net
Fri Aug 2 15:06:44 UTC 2013


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 :-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20130802/2c9c40fd/attachment.sig>


More information about the users mailing list