I have two computers that are connected by ssh.
There is a file system on one computer that I want to mount on the other.
I am using sshfs (fuse) to mount the remote file system locally.
The file system is owned by root.
I mounted the file system using sshfs as root
sudo sshfs root@remote:/fs /mnt/remote
The question here is, as I mounted the file system as root I chmod/chgrp the mounted file system and restrict access to a specific user?
Does that user need to exist on both systems?
I'm mounting on RHEL 6.6
May be I should have mounted the file sytem in my users home directory rather than /mnt ?
Suggestions?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 285 |
Nodes: | 16 (2 / 14) |
Uptime: | 60:55:56 |
Calls: | 6,488 |
Calls today: | 1 |
Files: | 12,094 |
Messages: | 5,274,430 |