Re: mount: sshfs problem with "defaults" option after 2.39 upgrade

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

 



On 2023-05-21 20:15:34+0200, Quentin Rameau wrote:
> > Hi Quentin,
> 
> Hi Thomas,
> 
> > > I just updated util-linux to 2.39 from 2.38.1 (on Alpine Linux),
> > > and new mount triggers an error for an old sshfs fstab mount entry,
> > > that was working until now.
> > > 
> > > The line in question is:
> > > 
> > > user@host:path /media/ssh/path sshfs defaults,nosuid,nodev,noexec,noatime,noauto,_netdev,user,idmap=user,allow_other,rec 0 0
> > > 
> > > and fails with:
> > > 
> > > $ mount /media/ssh/path
> > > fuse: unknown option(s): `-o defaults'
> > 
> > Could you try https://github.com/util-linux/util-linux/pull/2250 ?
> 
> This makes that problem go away indeed, thank you!

Great, you're welcome!

> On a side-note, should that flag be applied to other generic parameters
> too, like user(s) for example?

I guess they are useful for the helpers.

If the helpers were able to handle it before it should be fine.
(They were passed in 2.38)

One could even argue that "defaults" should have been fine to be passed,
but now it's a regression so needs to be fixed.

Thomas



[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