I accidentally issued the following command sudo chmod 000 /home/username/. And now I'm unable to log in. Also when I'm trying from the bash shell, my home folder is appearing as "Access-your-private-data.desktop". Any ideas about how to solve the problem?


Try to log in via command line.

Upon login screen, hit ctrl+alt+F1 to switch to console tty and try to log in there with your normal account.

If this is successful you would eventually be able to apply sudo chmod 755 /home/username/

Let us know if this works.

  • I'm glad to hear! :-) – cauon Oct 5 '12 at 9:10
  • 2
    If you feel that @cauon answer helped you to fix the issue. Please mark the answer as accepted answer by clicking on the grey tick mark. Thanks. – devav2 Oct 5 '12 at 11:20
  • 1
    @cauon Why sudo? In this situation, the user still owns his/her home folder, it's just the permissions that have changed. So chmod should succeed even when not run as root. – Eliah Kagan Oct 6 '12 at 5:14
  • @EliahKagan I wasn't sure about this and had no machine to test :-) It was just precaution. – cauon Oct 6 '12 at 10:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.