You are not logged in.

#1 2005-03-28 08:48:27

rottenikken
Member
Registered: 2005-01-19
Posts: 5

Permission problems when trying to play dvd's

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?

Offline

#2 2005-03-28 09:53:53

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: Permission problems when trying to play dvd's

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!

T

Offline

#3 2005-03-28 10:30:48

smith
Member
From: Crescent City, CA
Registered: 2005-02-19
Posts: 77

Re: Permission problems when trying to play dvd's

http://bbs.archlinux.org/viewtopic.php? … 008df05b78

Why don't you ditch devfs and move onto the superior udev?


I have nothing to say, and I am saying it.

Offline

#4 2005-03-28 12:53:55

Kern
Member
From: UK
Registered: 2005-02-09
Posts: 464

Re: Permission problems when trying to play dvd's

rottenikken

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
prob smile

hth

Kern

Offline

#5 2005-03-28 16:26:10

rottenikken
Member
Registered: 2005-01-19
Posts: 5

Re: Permission problems when trying to play dvd's

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.

Offline

Board footer

Powered by FluxBB