Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a remote ubuntu computer that I connect to via SSH. The remote computer has only one user. I accidentally changed the user's home folder permissions (to 555, I believe) and because of that I can no longer ssh in. Is there a way to fix the permissions remotely?

share|improve this question

migrated from Apr 25 '12 at 12:19

This question came from our site for professional and enthusiast programmers.

Do you normally login using a password or a private key? Do you connect from another Ubuntu computer, or a Mac, or a Windows PC (in which case, do you use Cynwin ssh, or Putty, or something else to connect?)? – dave4420 Apr 25 '12 at 9:26

It's possible you may be able to run commands over ssh even though you cannot start a login shell over ssh.

This may work

ssh remotecomputer chmod 775 .
share|improve this answer
I get the same permission denied error trying to run this. – user1354390 Apr 25 '12 at 15:48

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .