salah chmod 777 / -R

304 views
Skip to first unread message

muhammad saiful

unread,
Feb 9, 2011, 7:47:52 AM2/9/11
to id-u...@googlegroups.com
selamat malam,

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

Asri Rachman

unread,
Feb 9, 2011, 10:36:49 AM2/9/11
to id-u...@googlegroups.com
Pada tanggal 09/02/11, muhammad saiful <ipul....@gmail.com> menulis:

> selamat malam,
>
> 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.
>
> --
http://ubuntuforums.org/archive/index.php/t-1180661.html

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

Asri Rachman

unread,
Feb 9, 2011, 10:41:06 AM2/9/11
to id-u...@googlegroups.com

muhammad saiful

unread,
Feb 9, 2011, 8:11:10 PM2/9/11
to id-u...@googlegroups.com

> 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

--
maaf saya kurang tanda (*) yang saya lakukan adalah 

chmod 777 /* -R

 sarannya akan saya coba nanti mas kalo sudah sampai rumah. 
terima kasih 

--
Best greetings

Muhammad Saiful
email : ipul.web.id@gmail.com
web   : http://ipul.web.id

hendra kusuma

unread,
Feb 10, 2011, 3:03:38 AM2/10/11
to id-u...@googlegroups.com
maaf saya kurang tanda (*) yang saya lakukan adalah 

chmod 777 /* -R

 sarannya akan saya coba nanti mas kalo sudah sampai rumah. 
terima kasih 

--

WOW!!! KEREN!!!!

untung perintahnya nggak rm /* -RF

--
Suka linux?
Kunjungi blog saya http://penguinroad.blogspot.com

HibiscusHT Astomo

unread,
Feb 10, 2011, 3:11:18 AM2/10/11
to id-u...@googlegroups.com
kalau saya sih cuma tahu ls sama mkdir doang...
Reply all
Reply to author
Forward
0 new messages