Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 691704 - Add suid USE flag to sys-fs/fuse-exfat similar to sys-fs/ntfs3g
Summary: Add suid USE flag to sys-fs/fuse-exfat similar to sys-fs/ntfs3g
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-07 17:45 UTC by Martin Kolleck
Modified: 2019-11-29 02:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild with 'suid' USE flag for sys-fs/fuse-exfat based on latest fuse-exfat and ntfs3g ebuilds. (fuse-exfat-1.3.0-r1.ebuild,716 bytes, text/plain)
2019-08-07 17:45 UTC, Martin Kolleck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Kolleck 2019-08-07 17:45:02 UTC
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.
Comment 1 Mike Gilbert gentoo-dev 2019-08-07 19:22:45 UTC
This sounds like a bad idea. Doesn't /bin/mount already handle this based on the "user" option in fstab?
Comment 2 Martin Kolleck 2019-08-07 19:31:31 UTC
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.
Comment 3 Larry the Git Cow gentoo-dev 2019-11-29 02:21:44 UTC
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(+)