Created attachment 586064 [details] Ebuild with 'suid' USE flag for sys-fs/fuse-exfat based on latest fuse-exfat and ntfs3g ebuilds. sys-fs/ntfs3g has a 'suid' USE flag to allow nomal users to mount NTFS volumes. The sys-fs/fuse-exfat package could use the same USE flag as well.
This sounds like a bad idea. Doesn't /bin/mount already handle this based on the "user" option in fstab?
Unfortunately, not. I don't remember the exact reasoning why it is implemented in ntfs3g. I faintly recall that there used to be extra warnings in the ntfs3g ebuild's post_install() when 'suid' was enabled.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=556ac4a6a07a1e8f0ace2d8056f00ebd909cf811 commit 556ac4a6a07a1e8f0ace2d8056f00ebd909cf811 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2019-11-29 02:21:35 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2019-11-29 02:21:35 +0000 sys-fs/fuse-exfat: add suid USE flag Closes: https://bugs.gentoo.org/691704 Package-Manager: Portage-2.3.79_p3, Repoman-2.3.18_p2 Signed-off-by: Mike Gilbert <floppym@gentoo.org> sys-fs/fuse-exfat/fuse-exfat-1.3.0.ebuild | 2 ++ 1 file changed, 2 insertions(+)