Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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 am trying mount a remote drive using sshfs on ubuntu 12.04.

I follow the steps here:

But after I did sshfs successfully, I did ls,

I get:

ls: cannot access sshdrive: Permission denied
total 8
drwxr-xr-x  4 root root 4096 Oct 30 09:10 ./
drwxr-xr-x 26 root root 4096 Apr 23  2013 ../
d?????????  ? ?    ?       ?            ? sshdrive/

How can I fix my problem?

share|improve this question

After doing usermod, make sure that group membership change takes effect.

For that, you can run:

$ exec su -l $USER

Alternatively, you can log out and log back in.

share|improve this answer
It does not work. When I do 'exec su -l $USER', my terminal just kills itself. When I open a new terminal, I still get Permission denied' – michael Oct 31 '13 at 17:23
Relogging in does not help either? – dan Nov 12 '13 at 16:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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