Re: Removing trailing slash breaks SSHFS

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

 



On Sat, Mar 24, 2012 at 09:09:30AM +0000, Martin Panter wrote:
> 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

 use 'mount -t fuse.sshfs / /media/thee' the 'sshfs#' notation is
 deprecated.

> strips the trailing slash and calls
> 
> /sbin/mount.fuse sshfs#marty@thee: /media/thee -o rw

I've reverted the patch -- the function canonicalize_path() is too
generic for such behavior.

Thanks for your bug report.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
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