Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] udev CD drive permissions

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Arwed von Merkatz <v.merkatz AT gmx.net>
  • To: SM-Discuss <sm-discuss AT lists.ibiblio.org>
  • Subject: Re: [SM-Discuss] udev CD drive permissions
  • Date: Mon, 24 May 2004 18:48:13 +0200

On Mon, May 24, 2004 at 11:32:10AM -0400, Ross Pearlstone wrote:
> Hi All,
>
> I have a new SM install running kernel 2.6.6 with udev. I have a few
> wrinkles to iron out. One being my inability to play music CD's
> seemingly due to the permissions of /dev/hdc
>
> brw------- 1 root root 22, 0 2004-05-23 22:19 /dev/hdc
>
> the changing of those permissions produces the desired results. Now my
> *limited* understanding of this is that udev creates the device node as
> needed by the system. So is udev responsible for creating the wrong
> permissions? Or are the permissions correct and there is something else
> I need to configure to make this automatic? BTW my fstab entry for this
> device looks like this:
>
> /dev/hdc /mnt/cdrom auto defaults,noauto,user 0 0
>
> Can anyone help?

udev creates all devices with permission 600 by default, you have to
tell it if you want different ones.
Here's the line in my /etc/udev/udev.permissions:
hdc:root:burning:0664

Basically you can choose any user/group/permission combination you want.

--
Arwed v. Merkatz Source Mage GNU/Linux developer
http://www.sourcemage.org




Archive powered by MHonArc 2.6.24.

Top of Page