[Ilugc] By mistake I changed my root directory permissions to 777

  • From: baskar@xxxxxxxxxxxx (Baskar Selvaraj)
  • Date: Fri, 24 Apr 2015 18:11:18 +0530

On 4/24/15, Selvakumar Apparsamy <selvakumara87 at gmail.com> wrote:

By mistake I changed my root directory permissions to 777.

So that I can't use sudo. Let me know any solution as soon as possible.

1. Boot from any live dvd and mount the 'linux partition' where you
have the /root  directory

2. chmod 700 to /root directory

3.  unmount the partition and reboot your machine.

S. Baskar

Other related posts: