Can anyone tell me how I can undo a sudo rm -r /var/run mistake?
I can't use sftp and mysql now.
feedback
|
This question came from our site for professional and enthusiast programmers.
|
You can... reinstall debian! There's a reason you should be careful with anything starting with "sudo rm", and this is it :P | |||||||||||||||
feedback
|
|
reinstalling debian is not necessary. in /var/run are stored temporary pid files.. just try if restart of broken services works, if not, do | |||
feedback
|
If something complains about a subdirectory missing, create it in the same way. But packages are supposed to be robust against that now, because | |||
|
feedback
|