Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
need help with /dev/dvd permissions problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
964racer
n00b
n00b


Joined: 08 Jul 2004
Posts: 57

PostPosted: Sat Jun 18, 2005 6:50 pm    Post subject: need help with /dev/dvd permissions problem Reply with quote

I recently emerged mplayer and found that I couldn't play dvd's - but when I tried it as a root user (su -), it worked fine - so it must be a permissions problem.

My group membership (from fgrep "myname" /etc/group) is: wheel, audio, cdrom, video, users

The output of mplayer when it fails is:


    Playing dvd://.
    libdvdread: Using libdvdcss version 1.2.8 for DVD access
    libdvdread: Could not open /dev/dvd with libdvdcss.
    libdvdread: Can't open /dev/dvd for reading
    Couldn't open DVD device: /dev/dvd


also permissions on /dev/dvd and /dev/hdc (which it is linked to ) is:

Code:

 # ls -l /dev/dvd
lrwxrwxrwx  1 root root 3 Jun 17 19:45 /dev/dvd -> hdc
 # ls -l /dev/hdc
brw-rw----  1 root cdrom 22, 0 Jun 17 19:45 /dev/hdc


So, I made user a member of cdrom as well, but I still get the permissions problem. (su can play dvd's with no problem.).

This looks like I'm missing something simple. Anyone know ?

-Kevin
Back to top
View user's profile Send private message
Russel-Athletic
n00b
n00b


Joined: 07 Jan 2005
Posts: 47

PostPosted: Sat Jun 18, 2005 7:03 pm    Post subject: Reply with quote

/dev/dvd Persmission is wrong:
chown :cdrom /dev/dvd

If you are using udev you have to look in /etc/udev/permissions.d/50-udev.permissions
Back to top
View user's profile Send private message
964racer
n00b
n00b


Joined: 08 Jul 2004
Posts: 57

PostPosted: Tue Jun 21, 2005 12:57 am    Post subject: Reply with quote

the permissions on /dev/dvd was correct....

the problem was that when I did a usermod -G to add myself to the cdrom group (which is the gid for /dev/hdc), i was
added to the /etc/groups file, but i didn't actually become a members of that group until I relogged in.

AFter logging out and logging in again it solved the problem.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia 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