https://bugzilla.novell.com/show_bug.cgi?id=550021
https://bugzilla.novell.com/show_bug.cgi?id=550021#c22
--- Comment #22 from Jörg Schiling 2011-02-23 11:36:59 UTC ---
As mentioned earlier, the needed privileges are documented inside the code.
The related information can be found in the Solaris specific code parts.
As there is a working "root-less" method for Solaris, you should see that
I am not using suid root just for fun.
If you like to know _why_ there is a need for root privileges for SG_IO, I
recommend you to ask Linus Torvalds. He personally introduced the interface
change that set up the current situation.
Before he did change the interface, you needed to be root in order to open the
devices and later could send any SCSI command to any device as normal user.
After the change introduced by Torvalds, opening the device depends on the
device and may in some cases succeed as normal user (but not in all cases) and
sending arbitrary SCSI commands needs either root privileges or an unknown set
of fine grained privileges.
In any case, there is AFAIK currently no way to gain the related privileges
without first becoming root. So even if you know the exact set of privileges,
there is no way to use this path.
BTW: this has been discussed ad nauseum already. If you have new information
related to this topic, you are welcome to present information and ideas.
For now, we seem to have to live with the situation that there is no other way
than to make cdrecord, cdda2wav, readcd and rscsi suid root.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.