K3b permissions are driving me nuts!

Anthony Gardner cyclewood_ltd at yahoo.co.uk
Mon Jun 19 15:06:26 UTC 2006


just sudo k3b

Derek Broughton <news at pointerstop.ca> wrote:  Lee McLain wrote:

> Hi everyone,
>    This is an issue that is really bugging me and I can't seem to find a
> proper fix for it.
>    I am running Dapper on an Inspiron 6000. K3b keeps telling me that
> cdrecord doesn't have permission for the device.  Upon further checking,
> it seems that cdrecord is trying to use /dev/sg0 even though K3b says it's
> using /dev/sg1. 

Really?  I wouldn't expect the CD device to be on sg1, _but_ for scsi
CD/DVDs k3b requires access to /dev/sg0 which is a scsi control device, and
k3b doesn't report that.

> I try to add that device(sg0) and K3bsetup tells me that 
> it isn't a valid device.

Not for reading and writing on, anyway.

>    I change the permissions of /dev/sg0 to 666 and K3b then works.

There's the clue - you should never need it to be 666.  As Norton said, you
should be in the cdrom group, but iirc some versions of udev don't actually
make sg0 owned by cdrom, either, in which case you need to add the
following to /etc/udev/rules.d/15local.rules (creating the file if
necessary):

  BUS=="scsi", KERNEL=="sg[0-9]", NAME="%k", GROUP="cdrom"

> Unfortunately, after rebooting, the permissions go back to what they were
> before.  This sucks.

It's normal, since the device doesn't exist between boots.
-- 
derek


-- 
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


 		
---------------------------------
 All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060619/7070a90d/attachment.html>


More information about the ubuntu-users mailing list