W dniu 21.12.2018 o 16:15, Sven Hoexter pisze:
On Fri, Dec 21, 2018 at 01:01:55PM +0100, Adrian Siemieniak wrote:

Hi,

Well, the problem is I don't set this options "user=uid" - this is done
somewhere in between by fuse or exfat-fuse - I don't know.

Now that I thought a bit more about it, I think it's not possible to
mount block devices through fuse without root permission.
I vaguely remember some discussions about it and there is a check for it
in fusermount
https://github.com/libfuse/libfuse/blob/master/util/fusermount.c#L784

Something like exfat support in pmount could be a nice enhacement. But that's
a bit outside of the scope of exfat-fuse itself.

Hmm but fusefat is working - this is also block device.

p  fusefat - File System in User Space - Module for FAT

And I may be wrong, but this was working some time ago - I just did not checked it, since I had some lines in /etc/fstab for mounting my devices on auto with user rights. So if it was ntfs/vfat system used standard mount (ntfs3g - not fuse) and with exfat.. I'm not sure now... Anyway lately I used root, but yesterday I thought it's time to fix it and... :)

Ando also fusermount is suidrooted
$ ls -ld /bin/fusermount
-rwsr-xr-x 1 root root 34896 Aug  5 17:07 /bin/fusermount


--
Pozdrawiam,
Adrian (Sauron) Siemieniak    /~//_      .. Who can destroy The Thing,
sauron(at)rpg.pl             / //__\      controls The Thing ... (DUNE)

Reply via email to