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

There exists a difference when using ssh and sshfs. My user is a root at the ssh client and it works when using ssh.

But I wanna use sshfs (due to some development issues). When using sshfs with the same user, I cannot access certain directories, which are requiring root privileges.

concerning ls -la:

www-data in ssh is displayed as 33 in sshfs. root in ssh is displayed as wheel in sshfs.


drwxrwx--- 11 www-data root     4096 May  9 9:34 file


drwxrwx--- 11 33 wheel     4096 May  9 9:34 file

Are the group dependencies to resolve?

EDIT: MacFUSE compatibility layer was installed on Mac OS X. The remote machine is an Ubuntu Linux. Are there another products required to install?

share|improve this question
up vote 1 down vote accepted

Looks like the UID & GID on the remote server don't match what you have locally. When you use ssh, everything works because you're on the remote system. When you use sshfs, you would have to map the remote UID/GID to your local system:

share|improve this answer

You must log in to answer this question.

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