i was trying to run
sudo rm -r ./tmp
but instead typed
sudo rm -r /tmp
Will it be fixed by running?
sudo mkdir /tmp
if i do what permissions should i give it?
ps: i didnt log out of my system yet
i was trying to run
sudo rm -r ./tmp
but instead typed
sudo rm -r /tmp
Will it be fixed by running?
sudo mkdir /tmp
if i do what permissions should i give it?
ps: i didnt log out of my system yet
I can't think of a reason why this shouldn't work. On my system, the permissions are set by:
sudo chmod 1777 /tmp
(drwxrwxrwxt)
You should run the following commands to restore the tmp folder.
sudo -i
# You now have a root prompt and do not need to continue typing sudo
mkdir /tmp
chmod 1777 /tmp
exit
Then you sould be all good
/tmp
folder and now it is not getting pastlightdm
. – Juzer Ali Dec 05 '12 at 04:49