Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117865 - Wish: useflag for suid install of cdrecord/cdrdao
Summary: Wish: useflag for suid install of cdrecord/cdrdao
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo Optical Media project
URL:
Whiteboard:
Keywords:
: 163457 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-01-05 02:52 UTC by Ernst Bachmann
Modified: 2007-03-14 14:07 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ernst Bachmann 2006-01-05 02:52:24 UTC
I usually install cdrdao suid root so it can use real-time scheduling. Since that might not be wanted for all installations, I'd love to have an useflag controlling the permissions of the installed executable. (instead of re-setting them every time I update)

(Just the way the "artswrappersuid" USE flag controls the suid bit of artswrapper from kde-base/arts)

Gentoo has (I think from baselayout) a group "cdrw", which is meant to contain the users allowed to burn CDs, so permissions like

ls -la /usr/bin/cdr*
-rwsr-x---  1 root cdrw 814181 Jan  3 18:29 /usr/bin/cdrdao
-rwsr-x---  1 root cdrw 397032 Dec 10 15:20 /usr/bin/cdrecord

seem sensible to me.


Without the useflag keep things as-is, of course, to not break existing installations.
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2006-01-05 14:43:13 UTC
>(Just the way the "artswrappersuid" USE flag controls the suid bit of
artswrapper from kde-base/arts)

And that's one of those dead old flags, which shouldn't exist. It's way to harmful for users not understanding what such a use flag implies.


media-optical herd: If necessary, take a post install message into account, but do not add such a use flag, please. We had a few bugs of this sort in the past and also a gentoo-dev discussion iirc and the general consent is that suid use flags are strongly discountenanced.
Comment 2 Luis Medinas (RETIRED) gentoo-dev 2006-01-05 15:43:07 UTC
Yes i agree with Carlo this useflag makes no sense. I'm working on a project page for media-optical that will contain documentation about this issue.
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2007-03-14 14:07:22 UTC
*** Bug 163457 has been marked as a duplicate of this bug. ***