diff options
author | Mike Gilbert <floppym@gentoo.org> | 2021-11-06 20:11:43 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2021-11-06 20:28:46 -0400 |
commit | 50541bc7785a3b7205373b977f1f0863d4ee31f6 (patch) | |
tree | e4f90b1e922b5bd0bf45ff181855c07d23333e7c /sys-fs/ntfs3g | |
parent | dev-perl/IMAP-BodyStructure: Fix build dependencies (diff) | |
download | gentoo-50541bc7785a3b7205373b977f1f0863d4ee31f6.tar.gz gentoo-50541bc7785a3b7205373b977f1f0863d4ee31f6.tar.bz2 gentoo-50541bc7785a3b7205373b977f1f0863d4ee31f6.zip |
sys-fs/ntfs3g: actually make USE=suid do something
Bug: https://bugs.gentoo.org/822024
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-fs/ntfs3g')
-rw-r--r-- | sys-fs/ntfs3g/ntfs3g-2021.8.22-r2.ebuild (renamed from sys-fs/ntfs3g/ntfs3g-2021.8.22-r1.ebuild) | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys-fs/ntfs3g/ntfs3g-2021.8.22-r1.ebuild b/sys-fs/ntfs3g/ntfs3g-2021.8.22-r2.ebuild index 32829cd24d9e..fa4b403451ea 100644 --- a/sys-fs/ntfs3g/ntfs3g-2021.8.22-r1.ebuild +++ b/sys-fs/ntfs3g/ntfs3g-2021.8.22-r2.ebuild @@ -75,7 +75,12 @@ src_configure() { src_install() { default - use mount-ntfs && dosym mount.ntfs-3g /sbin/mount.ntfs + if use suid; then + fperms u+s /usr/bin/ntfs-3g + fi + if use mount-ntfs; then + dosym mount.ntfs-3g /sbin/mount.ntfs + fi find "${ED}" -name '*.la' -type f -delete || die # https://bugs.gentoo.org/760780 keepdir "/usr/$(get_libdir)/ntfs-3g" |