And after I issue this command:
root@cerberus:~# sshfs -o default_permissions sshd@white_mycloud:/mnt/HD/HD_a2/Public /mnt/white_mycloud/ sshd@white_mycloud's password:
it looks like this to me:
eben@cerberus:~$ \ls -l /mnt
ls: cannot access '/mnt/white_mycloud': Permission denied
total 12
drwxr-xr-x 2 root root 4096 Mar 11 23:39 server
drwxr-xr-x 2 root root 4096 Mar 4 14:37 temp
drwxr-xr-x 2 root root 4096 Mar 7 14:02 temp2
d????????? ? ? ? ? ? white_mycloud
and to root:
root@cerberus:~# ls -l /mnt/
total 16
drwxr-xr-x 2 root root 4096 Mar 11 23:39 server
drwxr-xr-x 2 root root 4096 Mar 4 14:37 temp
drwxr-xr-x 2 root root 4096 Mar 7 14:02 temp2
drwxrwxr-x 1 root eben 4096 Jul 23 11:35 white_mycloud
What's going on here, and how do I fix it?
As described on the sshfs manpage, by default only the mounting user (root, in your case) can access the filesystem.
You can use -o allow_other to allow other users. Or, if it's only eben that'll be accessing, run sshfs as eben.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 53:47:29 |
Calls: | 10,397 |
Calls today: | 5 |
Files: | 14,067 |
Messages: | 6,417,402 |
Posted today: | 1 |