On Thu, 18 Oct 2001, Michael Schwendt wrote:

> On 2001-10-18, Matthias Saou wrote:
>
> >Yeah, this must be a permission problem for regular users when using
> >ide-scsi... as root, works fine, but even after (when I'm sure all the
> >modules are loaded) it still doesn't for regular users that have r/w access
> >to /dev/scd0 (which /dev/cdrom points to).
>
> The cdrecord man page suggests making cdrecord setuid root. That
> would explain why my normal user gets warnings/errors although
> he owns /dev/scd0.
>
> Still, that user is not able to let the kernel modules load
> automatically:
>
> Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 J�rg Schilling
> TOC Type: 1 = CD-ROM
> scsidev: '0,0,0'
> scsibus: 0 target: 0 lun: 0
> cdrecord: No such device. Cannot open '/dev/pg0'. Cannot open SCSI driver.
> cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
>
The reasion for making it suid is because it does some ioctl calls that
you have to be root for.  Loading modules has nothing to do with the
user running the program, and everythig to do with how things are set up
in /etc/modules.conf.  You could try adding something like
"alias char-major-11 sr_mod" or alias char-major-21 sg".  You may also
need something like "alias scsi_hostadapter ide-scsi", but I am not
sure.  I use a SCSI CD-RW, so I have an alias for the SCSI controller.

Mikkel
 --

    Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.



_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to