> This was because I needed permission to open the host adapter. I
> confess that I don't see any clean way around this. I guess that I will
> have to try to write some kind of stub device that will accept SCSI
> commands and return the results using the IOCTL mechanism. Sounds like
One possibility. If you are only concerned about scanning software having to
run as root, the netsane protocol is a way around this ...
Install netsaned suid-root (though it would be better to install it as
uid scanner and make a suitable device-file with permission only to that
uid) and configure sane for netsane-access.
-- Andreas Beck | Email : <email@example.com>
-- Source code, list archive, and docs: http://www.azstarnet.com/~axplinux/sane/ To unsubscribe: mail -s unsubscribe firstname.lastname@example.org