relan / exfat

Free exFAT file system implementation
GNU General Public License v2.0
789 stars 179 forks source link

failed to mount as non-root user #133

Closed multiSnow closed 1 year ago

multiSnow commented 4 years ago

run:

$>> mkdir mnt
$>> mount.exfat-fuse -o noatime /dev/sdX1 ./mnt/
FUSE exfat 1.3.0
fusermount: unknown option 'user=<current user name>'

and exit with code 1 with no volume mounted.

If try again

$>> mount.exfat-fuse -o noatime /dev/sdX1 ./mnt/
FUSE exfat 1.3.0
WARN: volume was not unmounted cleanly.
fusermount: unknown option 'user=<current user name>'

but the volume should never mounted before.

Use owner option in /etc/fstab shows the same error.

Call mount.exfat-fuse as root works correctly.

ghost commented 4 years ago

Same issue here when using FreeBSD 12.1-STABLE.

andersbo87 commented 4 years ago

Same issue on FreeBSD 12.1 for me too.

Alexco500 commented 4 years ago

Still an issue. It seems that the user option is currently not supported on FreeBSD. Changing main.c in line 502 from #if defined(__linux__) || defined(__FreeBSD__) to #if defined(__linux__)

which should disable this.

relan commented 1 year ago

Fixed in 11e4f032d1782a606e3b004c89990a72cadf91bf.

relan commented 1 year ago

Fixed in v1.4.0.