sshfs: how to match uid and gid on the remote server
sshfs joe@remote_
Everything ran OK and the mount happened.
What will the uid, gid and file permissions will be if I:
touch /joe_s_
I would expect to be exactly the same as if I was logged as joe sitting in front of the remote_server.com
...but isn't for me (sshfs from Ubuntu 10.04 to Redhat 4.6 machine)
Then I found joe's uid and gid on the remote_server.com and tried:
sshfs joe@remote_
and touched again.
When I 'ls -l /joe_s_
...but on the remote_server.com (like ssh joe@remote_
and it is created with 400 permissions. Now I cannot do anything with this file from either side, since it belongs to a non-existent user.
I cannot remove it. Nothing!
So, what is the "right" way of sshfs-ing that gives me the expected behavior - i.e. :
I gave you a valid user name on a valid server and I EVEN gave you the right password! So can I get a mount that I can actually use? (WTF ?!?!?)
vess
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu openssh Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- vesselin kavalov
- Solved:
- Last query:
- Last reply: