You are not logged in.

#1 2004-08-06 18:54:28

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

dodgy xv dvd permissions problem

hey all - don't jump to conclusions - readme carefully

what i can't do
play dvd as user with xv

what i can do
play ANY dvd/video as root
play dvd as user with another video output
play avi from harddisk and cdrom as user with xv

so, user can use xv as long as it is not with the dvd.  i think there is a permissions issue but i dunno how to start looking

all playback is set run from /dev/cdroms/cdrom0 based on Sarah's suggestion and the fact that i couldn't get the symlink to remain after reboots????

Offline

#2 2004-08-06 19:57:36

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: dodgy xv dvd permissions problem

if you are using udev you may have to set the path as /mnt/cdrom (or something). I was having similar path problems with udev and some apps and it was annoying me enough for me to switch back to devfs.


AKA uknowme

I am not your friend

Offline

#3 2004-08-06 20:36:03

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: dodgy xv dvd permissions problem

hmmmm - not using udev  sad

Offline

#4 2004-08-06 22:24:10

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: dodgy xv dvd permissions problem

To read a dvd, your player has to have read access to the block device.  In this example, it's probably /dev/cdroms/cdrom0 (or 1 or whatever) and that is a symlink to something in /dev/ide/...

You need to set your /etc/devfsd.conf to give group/world read access to that device.  I create a disk group and put anyone I want to be able to access the dvd into that group, then give the group read access to the device, but you can do it however you want.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#5 2004-08-07 10:16:36

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: dodgy xv dvd permissions problem

whoops sorry all!  forgot to say that when i play dvd as user i get sound but no picture so i do have permission to access the dvd.  i ownder if it is video permissions...sorry!

Offline

#6 2004-08-08 11:56:04

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: dodgy xv dvd permissions problem

#DVD Options
REGISTER ^ide/host0/bus1/target0/lun0/cd PERMISSIONS root.cd 440

i added that to /etc/devfsd.conf and it all seems to work now  :oops:  sorry i didn't try it earlier.  does this look ok?

can you actually chmod /dev devices when using devfs?  i tried to do chmods on the cdrom devs so do i need to undo this?  i did chmod 777  :oops:

Offline

Board footer

Powered by FluxBB