Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
weird permissions problem on cdrom [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Sun Dec 02, 2007 5:06 am    Post subject: weird permissions problem on cdrom [SOLVED] Reply with quote

Hi all. When my system boots, it sets /dev/hdc like this:

Code:
brw-rw---- 1 root disk 22, 0 Dec  1 18:56 /dev/hdc


but of course it should be like this:

Code:

brw-rw---- 1 root cdrom 22, 0 Dec  1 18:56 /dev/hdc


This problem means that kde does not recognize a dvd as
a dvd video and does not give the correct pop up options, plus
it means that I can't play a dvd since the drive is not listed as
in the cdrom group.

If I manually chown hdc to root:cdrom then everything works.

I suspect udev is screwed up but don't know enough to verify what
rule is broken or whatever else might be wrong ...

any advice welcome
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)


Last edited by albright on Sun Dec 02, 2007 2:31 pm; edited 1 time in total
Back to top
View user's profile Send private message
SnEptUne
l33t
l33t


Joined: 23 Aug 2004
Posts: 656

PostPosted: Sun Dec 02, 2007 7:02 am    Post subject: Reply with quote

What does the following code returns?

Code:
$ grep cdrom /etc/udev/rules.d/50-udev.rules


Moreover, are you using pam?

If that's the case, you may want to check the configuations in /etc/security. In my computer, every file in /etc/security except console.perms are commented out.
_________________
"There will be more joy in heaven over the tear-bathed face of a repentant sinner than over the white robes of a hundred just men." (LM, 114)
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Sun Dec 02, 2007 2:30 pm    Post subject: Reply with quote

Quote:
Moreover, are you using pam?


thanks a million, SnEptUne. I had neglected to follow
the pam upgrade guide. Everything is shiny now. :D
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum