Andrew,
Thanks very much for replying to my email. I appreciate it.
I think what really matters is the permissions on /dev/cdrom or
/dev/hdc depending on how you're set up. check those. they should be
root:cdrom. Also, what mechanism are you using for mounting these
disks? You may have to monkey with its config to get the permissions
of the mounted disk the way you want.
Hmmm.
[EMAIL PROTECTED]:/dev$ ls -l hdb
brw-rw---- 1 root disk 3, 64 2005-02-26 06:38 hdb
[EMAIL PROTECTED]:/dev$
I assume this should be cdrom not disk correct?
Trying to remember how I set up the dvd drive to mount automatically
when a DVD disc is inserted - I seem to recall using a program called
"automount" and the following line are in /etc/auto.misc:
cd -fstype=iso9660,ro,nosuid,nodev :/dev/hdb
Following line found in /etc/auto.master:
/misc /etc/auto.misc --timeout=60
And that seems to be all that I could find.
Reading the man pages of automount doesn't show anything about groups.
I tried disabling automount, and mounting the CD myself as a normal
user, it could mount, and I could see what was in it, but I couldn't
play back the video as piers, but I could play it back as root. I
SSH'ed into Hinata and tried the following command as user piers:
--------------------------------------------------
[EMAIL PROTECTED]:/misc/cd/VIDEO_TS$ mplayer dvd:// -dvd-device /misc/cd
MPlayer 1.0pre7try2-3.3.5 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon Thunderbird (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx
Failed to open /dev/rtc: Permission denied (it should be readable by the
user.)
Playing dvd://.
libdvdread: Attempting to use device /dev/hdb mounted on /misc/cd for
CSS authentication
libdvdread: Could not open device with libdvdcss.
libdvdread: Can't open /dev/hdb for reading
libdvdread: Device /dev/hdb inaccessible, CSS authentication not available.
Reading disc structure, please wait...
There are 6 titles on this DVD.
There are 6 chapters in this DVD title.
There are 1 angles in this DVD title.
MPlayer interrupted by signal 2 in module: open_stream
[EMAIL PROTECTED]:/misc/cd/VIDEO_TS$
--------------------------------------------------
As root:
--------------------------------------------------
hinata:/misc/cd/VIDEO_TS# mplayer dvd://1 -dvd-device /misc/cd
MPlayer 1.0pre7try2-3.3.5 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon Thunderbird (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx
Playing dvd://1.
libdvdread: Attempting to use device /dev/hdb mounted on /misc/cd for
CSS authentication
Reading disc structure, please wait...
There are 6 titles on this DVD.
There are 6 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
MPEG-PS file format detected.
VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 7500.0 kbps (937.5 kbyte/s)
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using 3DNowEx optimized IMDCT transform
AC3: 2.0 (dolby) 48000 Hz 192.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
vo: couldn't open the X11 display ()!
vo: couldn't open the X11 display ()!
VO XOverlay need a subdriver
[gl] Using 4 as slice height (0 means image height).
vo: couldn't open the X11 display ()!
vo: couldn't open the X11 display ()!
vo: couldn't open the X11 display ()!
Can't open /dev/fb0: No such device or address
[fbdev2] Can't open /dev/fb0: No such device or address
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred csp: Mpeg PES)
VDec: using Mpeg PES as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vesa] 720x576 => 1024x576 Mpeg PES
hinata:/misc/cd/VIDEO_TS#
--------------------------------------------------
As I was SSH'ing in, the X11 display errors are obvious, but it shows
that the DVD would have been played back fine.
Interestingly, if I mounted it as user piers, the users and groups are
garbled:
--------------------------------------------------
[EMAIL PROTECTED]:/misc$ ls -l
total 2
dr-xr-xr-x 3 4294967295 4294967295 88 2002-06-20 11:05 cd
[EMAIL PROTECTED]:/misc$
--------------------------------------------------
Thank you very much again for your help, much appreciated!
Regards - Piers
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]