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

Re: ide-scsi cdparanoia permissions



On Wed, Feb 12, 2003 at 06:49:09PM +0100, Robert Ewald wrote:
> Am Mittwoch, 12. Februar 2003 16:12 schrieb Nicos Gollan:
> > On Wednesday 12 February 2003 15:49, Robert Ewald wrote:
> > > robert@debian:~$ cdparanoia -vd /dev/scd0 10 test.wav
> > >
> > > <snip>
> > >
> > > Checking /dev/scd0 for cdrom...
> > >         Testing /dev/scd0 for cooked ioctl() interface
> > >                 /dev/scd0 is not a cooked ioctl CDROM.
> > >         Testing /dev/scd0 for SCSI interface
> > >                 No generic SCSI device found to match CDROM device
> > > /dev/scd0
> > >
> > > As root it works just fine.... So i am pretty clueless. I would be most
> > > grateful if somebody can provide me with a few suggestions. Or point me
> > > to the relevant source.
> >
> > You have to give your user (or a group you're in) read/write access to the
> > relevant generic device which would be /dev/sg<something>. I don't know if
> > the numbers correspond for scd and sg, so you might have to experiment a
> > little (if the CD writer is the only "SCSI" device, /dev/sg0 should be it,
> > though).
> >
> > --
> > Got Backup?
> 
> Yes, that worked :-)

A neat trick for the future is to use strace to watch the program does;
you'll be able to see it try to open(2) a bunch of files, and the error
code if it fails.  This at least helps you find what it's failing to
access...

-- 
Rob Weir <rweir@ertius.org>				http://ertius.org/

Attachment: pgp9mygMjk6Yr.pgp
Description: PGP signature


Reply to: