/sbin/mount.fuse uses bash specific syntax that breaks with dash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
fuse (Ubuntu) |
Fix Released
|
Undecided
|
Colin Watson |
Bug Description
dale@homeless:
sshfs#dale@
dale@homeless:
dale@homeless:
lrwxrwxrwx 1 root root 4 2006-09-07 20:17 /bin/sh -> dash
dale@homeless:
here's the output that I get trying to mount:
dale@homeless:
[: 54: ==: unexpected operator
[: 54: ==: unexpected operator
[: 54: ==: unexpected operator
[: 54: ==: unexpected operator
[: 54: ==: unexpected operator
[: 54: ==: unexpected operator
[: 54: ==: unexpected operator
[: 54: ==: unexpected operator
[: 54: ==: unexpected operator
[: 54: ==: unexpected operator
fuse: unknown option `IGNORE'
dale@homeless:
the problem is in /sbin/mount.fuse line 52:
if [ "$OPT" == "IGNORE" ]; then continue; fi
replacing == with = fixes the bug:
dale@homeless:
dale@homeless:
Changed in fuse: | |
status: | New → Confirmed |
Fixed in fuse 2.7.0-1ubuntu1 (by upstream, although the Debian maintainer added a temporary fix in one of the intermediate versions): mount.fuse is no longer a shell script.