Removing trailing slash breaks SSHFS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


I am using the util-linux version 2.21 on Arch Linux:

They have patched the 2.21-6 package to include the following commit
“lib/canonicalize: always remove tailing slash”:;a=commitdiff;h=28074a0

The result of this is that my SSHFS entry in my “fstab” file no longer
works properly. To demonstrate, this “mount” command

sudo mount -t fuse 'sshfs#marty@thee:/' /media/thee

strips the trailing slash and calls

/sbin/mount.fuse sshfs#marty@thee: /media/thee -o rw

which mounts the home directory rather than the entire remote file
system. A workaround seems to be to specify a double slash (e.g.
“thee://”), but it doesn’t seem healthy and I was wondering if either
this recent slash-removal could be avoided in the “mount” command, or
if my magic SSHFS usage was abusing how “mount” is meant to work.

To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at

[Site Home]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Memory]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Rubini]     [Photo]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]     [Linux Resources]

Powered by Linux