barusan saya salah menjalankan perintah chmod 777 / -R . sudah pada
tau kan artinya, sebenarnya maksud saya sih tidak memberi "/" dan
hasilnya system saya jadi berjalan tidak benar, awalnya saya coba
sudo, ternyata error dan terpaksa saya pake recovery dan memperbaiki
dengan chmod 0440 /etc/sudoers , dan sudo pun bisa dipergunakan lagi,
tapi masih banyak atau semua file menjadi 777. yang ingin saya
tanyakan bagaimana cara mengembalikan semua permission ke semula, kan
tidak mungkin saya mengganti permission satu2 dengan berbagai model
permisionnya, dan saya sendiri ga tau permission masing2 file. terima
kasih.
--
Best greetings
Muhammad Saiful
email : ipul....@gmail.com
web : http://ipul.web.id
oof June 10th, 2009, 02:41 PM
0Try to boot in recovery mode and restore the permissions:
chmod 0755 /
chmod 0755 /*
chmod 1777 /tmp
chmod 0750 /root
chmod 0700 /lost+found
If you can boot in recovery mode, then boot a liveCD, mount the root
partition and restore the permissions.
sisco311,
It seems that ubuntu works exactly as before after I changed the root
permission according to your advice in the recovery mode (is there
anythings else I need to do now to be sure ubuntu is fully restored?).
So thank you, and thanks all the other for trying to help (and I also
want to thank god I was not listening to their advice ;))
What other dangers should I be aware of in this respect, and does
ubuntu have any option of restoring itself (In my case, I must sudo
many times in different ways, and it is impossible not to make simple
misprints sometimes)
--
Asri Rachman
GTalk : kidx13
YM : kid...@ymail.com
Plurk / twitter : kidx13
asrirachman.web.id
kidx13.wordpress.com
makassar.linux.or.id
http://serverfault.com/questions/221447/how-to-repair-restore-ubuntu-10-04-after-sudo-chmod-777
> oof June 10th, 2009, 02:41 PM
> 0Try to boot in recovery mode and restore the permissions:
> chmod 0755 /
> chmod 0755 /*
> chmod 1777 /tmp
> chmod 0750 /root
> chmod 0700 /lost+found
> If you can boot in recovery mode, then boot a liveCD, mount the root
> partition and restore the permissions.
>
>
> sisco311,
--
Asri Rachman
GTalk : kidx13
YM : kid...@ymail.com
Plurk / twitter : kidx13
asrirachman.web.id
kidx13.wordpress.com
makassar.linux.or.id
--
chmod 777 /* -R
sarannya akan saya coba nanti mas kalo sudah sampai rumah.terima kasih--