View previous topic :: View next topic |
Author |
Message |
964racer n00b
Joined: 08 Jul 2004 Posts: 57
|
Posted: Sat Jun 18, 2005 6:50 pm Post subject: need help with /dev/dvd permissions problem |
|
|
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 |
|
|
Russel-Athletic n00b
Joined: 07 Jan 2005 Posts: 47
|
Posted: Sat Jun 18, 2005 7:03 pm Post subject: |
|
|
/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 |
|
|
964racer n00b
Joined: 08 Jul 2004 Posts: 57
|
Posted: Tue Jun 21, 2005 12:57 am Post subject: |
|
|
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 |
|
|
|