On Thursday, January 7, 2016 at 9:17:26 PM UTC-7, SpreadTooThin wrote:
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?
I found a solution using -o allow_others as part of sshfs.
However the questions still remains.
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)