[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: no audio cds



On Tue, Mar 25, 2003 at 03:18:18PM +0100, Joerg Johannes wrote:
> On Tuesday 25 March 2003 14:22, Alberto Cabello Sanchez wrote:
> > You (the user) must to have read permissions on physical device (that is,
> > /dev/hdc). ls /cdrom will give empty anyway, but xmms will be able to load
> > audio tracks.
> > Easier way is to add yourself to group "disk", if I can remember.
> 
> NO!!!!!
> 
> Adding an user to the "disk" group will give him low-level read and write 
> permissions to all IDE devices. That said, he can either by accident, or (if 
> it is a non-private box) voluntarily overwrite the whole hd with the "dd" 
> command.

Indeed.

> Better way is: find out which device actually is the cdrom device[1], then
> root@box# chown root.audio /dev/<cddevice>
> root@box# addgroup user audio

Better still, use the cdrom group which is there for a reason I think. :)

-- 
"Other countries of course, bear the same risk. But there's no doubt his
hatred is mainly directed at us. After all this is the guy who tried to
kill my dad."
        - George W. Bush Jr, Leader of the United States Regime
          September 26, 2002 (from a political fundraiser in Houston, Texas)



Reply to: