I'm using devfs and I made a symlink from /dev/cdroms/cdrom0 to /dev/dvd in the configfile. But when I pop in a dvd and hit play in xine, vlc, mplayer etc., I don't have permission to read it. It works if I "chmod a+r /dev/dvd", but this is only temporary and changes again if I reboot. I wondered if anyone could tell me how to make reading rights to /dev/dvd permanent as regular user?
I think you need to be in the 'optical' group - not sure the exact command atm. Type 'groups' at commandline to check which you belong to.
However, I say this works, but on my machine, it doesn't, and I also have the same problem as you!
Why don't you ditch devfs and move onto the superior udev?
I have nothing to say, and I am saying it.
I don't have permission to read it.
first of all, login from a terminal as su -
less /etc/fstab and check the location of your dvd player.
ie /dev/cdroms/cdrom0 /mnt/dvd udf rw,user,noauto,unhide 0 0
q quit and then run xine , from the same root terminal.
if you still get the "no permissions" fault , then its likely xine is pointing at
the wrong place and is actually fouling itself.
open up the setup panel (spanner) and under GUI tab set experience level to
"Master of known universe".
close and restart xine. go back to that panel to check its still set as Master.
Now go to the [media] tab. Scroll down to the [device used for dvd playback]
set this to /mnt/dvd ( dont forget to check you actually have a directory called /mnt/dvd and if not, then make one).
below this in the [raw device ...] set it as /dev/cdroms/cdrom0 assuming thats whats in fstab file.
Click the [Apply] and [Close] and close Xine.
from the root (su - ) terminal
mount /dev/cdroms/cdrom0 /mnt/dvd
start xine again. Click the dvd button.
If this works, then repeat that setup process from a normal user terminal, or from the start menu u use to open programs.
to use again u just have to mount the drive, from a root terminal, then use xine as a normal user.
i choose to mount dvd and cds manually from a root terminal, but if all this has worked, and you want to automount, thats a different
Thanks for all the help guys. The problem is solved now, it looks like my problem was not being part of the optical group, the command was
gpasswd -a user group
Thanks for the tip tmadhavan.
And smith, I'll look into switching to udev, I just have to wait till I can get access to the udev wikipage. It looks like it's down atm.