I have an older WD Mycloud Connect NAS.  I'm currently trying to mount it
via sshfs (I prefer NFS, but can't make it work either).  When it's not
mounted, /mnt looks like this to me:

eben@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
drwxr-xr-x 2 root root 4096 Jul 23 12:26 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
drwxr-xr-x 2 root root 4096 Jul 23 12:26 white_mycloud

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?

The contents of the NAS are visible in /mnt/white_mycloud, just not to a
normal user.

--
I know not with what weapons World War III will be fought but
World War IV will be fought with sticks and stones.
            -- Albert Einstein

Reply via email to