Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dot in mount point's directory name -> not mounting #163

Closed
koem opened this issue Mar 5, 2019 · 3 comments
Closed

dot in mount point's directory name -> not mounting #163

koem opened this issue Mar 5, 2019 · 3 comments

Comments

@koem
Copy link

koem commented Mar 5, 2019

Hi,

I tried to mount to a directory with a dot in it's name. Result was no error message and the directory didn't contain anything. mount didn't show it, too.

sshfs -p 48574 [email protected]:/media/Backup2_Me/ /media/Backup2.enc/ -o idmap=user -o uid=0 -o gid=0

remote and local: Linux raspberrypi 4.14.79-v7+ #1159 SMP Sun Nov 4 17:50:20 GMT 2018 armv7l GNU/Linux
root@raspberrypi:~ # sshfs -V
SSHFS version 2.8
FUSE library version: 2.9.7
fusermount version: 2.9.7
using FUSE kernel interface version 7.19

When I mounted to /mnt everything worked as expected...

@Nikratio
Copy link
Contributor

Thanks for the report! For me this works just fine:

$ md test.dot
$ sshfs ebox:/tmp test.dot
$ dir test.dot/
total 4.0K
drwx------ 1 root root 4.0K Apr  4 07:05 systemd-private-e8caeaa9857049e9a17db0fc14d83d25-apache2.service-SDGndy
$ fusermount -u test.dot
$ sshfs --version
SSHFS version 2.8
FUSE library version: 2.9.7
fusermount version: 2.9.7
using FUSE kernel interface version 7.19

Could you please give me detailed instructions for reproducing this? And try to update to the newest SSHFS version?

@koem
Copy link
Author

koem commented Apr 16, 2019

Well, actually that's all I can provide. I ran the mount command as root.

@rsyncnet
Copy link

rsyncnet commented Jun 4, 2019

We (rsync.net) cannot reproduce this error - it is interesting for us because the daily/weekly/monthly snapshots in customer accounts reside in the:

.zfs/snapshot

directory. So I checked with:

sshfs [email protected]:.zfs /mnt/zfs (blah blah other options)

... and it mounted correctly and I was able to browse the .zfs/snapshot directory on the remote host.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants