K3B, better: cdrecord is not able to burn cds on a scd0-devic- PROBLEM SOLVED

Derek Broughton news at pointerstop.ca
Fri Jul 29 00:16:43 UTC 2005


hagen van rissenbeck wrote:

> Hi list, hi Derek, hi Ziyad,
> 
> Thanks for your help...
> 
> I solved the problem on that laptop, I wrote about, yesterday morning.
> To continue, please have a look at the bottom of that mail...
> 
> On Thu, 2005-07-28 at 13:46 -0300, Derek Broughton wrote:
> 
>>>I didn't change any defaults (in fact, I just did a complete new hoary
>>>install) and my DVD is /dev/cdrom -> /dev/scd0.  I admit, I haven't
>>>actually tried writing anything on it since the reinstall...
>>>--
>>>derek
>>>
>>>
> 
> 
> ZIYAD A. M. AL-BATLY wrote:
> 
>> Is your DVD a SCSI device by any chance?  If not, then there's something
>> not right with your setup.  If yes, check the ownership of "/dev/scd0":
>>         ls -l /dev/scd0
>> 
>> Normally, it should be owned by "root" and group "cdrom" and
>> readable/writable by "root" and anyone in that group.  Make sure you're
>> in that group by running "groups".
>> 
>> If that's not the case, grant yourself a write permission to that
>> device.  For example, by changing it's group to "cdrom", adding yourself
>> to that group, and changing the permission to "ug=rw,o=" like this:
>>         sudo chmod ug=rw,o= /dev/scd0
>> (Note there's a space after "chmod" and before "/dev/scd0".)
>> 
>> Ziyad.
>> 
> 
> 
> I googled a while.
> 
> That seemed/seems to be a problem also on other distros, too. I've read
> postings on suse or slackware lists as well, BTW.
> 
> First, you have to be sure, that the user who would like to burn, should
> be a member of the cdrom group.
> 
> 2nd: go to
> 
> /usr/bin/cdrom
> 
> and have a look on the rights of that cdrom-binary-file. Take care, that
> SUID (set user id) is activated!
...

cdrecord???  there's no /usr/bin/cdrom-binary* 

As I understand it, SUID on cdrecord after 2.6.12 is not possible, and it is
merely controlled by the fact that the device belongs to group cdrom and
the user _using_ the device must be a member of the group.

> 
> After I did that, I was able to start burning a cd as a normal user.
> 
> I would like to ask experts on the list, if that procedure is ok for
> safety reasons?

On breezy, and kernel 2.6.12.3, k3b warned me that I would have to turn
_off_ suid on cdrecord.
-- 
derek





More information about the ubuntu-users mailing list