Removing trailing slash breaks SSHFS

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

 



Hi

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

https://www.archlinux.org/packages/core/x86_64/util-linux

They have patched the 2.21-6 package to include the following commit
“lib/canonicalize: always remove tailing slash”:

https://git.kernel.org/?p=utils/util-linux/util-linux.git;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.

-Martin
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux