Re: device file permissions the debian way

2005-09-18 Thread Colin
Haines Brown wrote: > gxine allows one to define the device file for cdrom, but not dvd, and > it was my impression that it automatically uses /dev/dvd. If so, then > one has to create a /dev/dvd symlink to a hd* interface. But it is > objected that this is the lesser of evils. Is it a security ris

Re: device file permissions the debian way

2005-09-18 Thread Andrew M.A. Cater
On Sat, Sep 17, 2005 at 06:35:06PM +0100, Antony Gelberg wrote: > Haines Brown wrote: > >I'm trying to set up a new installation of debian so that user can > >play DVDs. I have debian sarge 2.6.8-2-686, an IDE dvd drive, gxine > >0.4.1-1, libdvdread3-0.9.4-5. I can play .mp3 files OK with gzine. >

Re: device file permissions the debian way

2005-09-17 Thread Thomas Adam
--- Haines Brown <[EMAIL PROTECTED]> wrote: > This works, but another poster implied this is a security risk. So is > the "debian way" to change ownership of /dev/hda to root/cdrom and > put > user into the cdrom group? Correct. No non-root user should ever be in group 'disk' -- instead, just us

Re: device file permissions the debian way

2005-09-17 Thread Haines Brown
> Have you also made the user logout? This is necessary to inherit new > group membership. Check the output of the `groups' command to be sure. Jon, that was my problem. My excuse is lack of sleep and too many pressing distractions, but I should have thought of it anyway. Thanks for the instant r

Re: device file permissions the debian way

2005-09-17 Thread Antony Gelberg
Haines Brown wrote: I'm trying to set up a new installation of debian so that user can play DVDs. I have debian sarge 2.6.8-2-686, an IDE dvd drive, gxine 0.4.1-1, libdvdread3-0.9.4-5. I can play .mp3 files OK with gzine. I created a dvd symlink: $ ls -l /dev/dvd lrwxrwxrwx 1 root root 3 S

Re: device file permissions the debian way

2005-09-17 Thread Jon Dowland
On Sun, Sep 11, 2005 at 10:41:47AM -0400, Haines Brown wrote: > To do things the debian way, I should give /dev/hdc 660 permission and > add the user to the disk group, but it doesn't work. Have you also made the user logout? This is necessary to inherit new group membership. Check the output of

Re: device file permissions the debian way

2005-09-16 Thread Seeker5528
On Tue, 13 Sep 2005 22:26:58 -0400 (EDT) [EMAIL PROTECTED] (Haines Brown) wrote: > > On Sun, 11 Sep 2005 10:41:47 -0400 (EDT) > > [EMAIL PROTECTED] (Haines Brown) wrote: > > > > > I'm trying to set up a new installation of debian so that user can > It was my understanding that gxine likes to see

device file permissions the debian way

2005-09-11 Thread Haines Brown
I'm trying to set up a new installation of debian so that user can play DVDs. I have debian sarge 2.6.8-2-686, an IDE dvd drive, gxine 0.4.1-1, libdvdread3-0.9.4-5. I can play .mp3 files OK with gzine. I created a dvd symlink: $ ls -l /dev/dvd lrwxrwxrwx 1 root root 3 Sep 11 08:25 /dev/dvd -