[sane-devel] root vs. user?

Henning Meier-Geinitz henning at meier-geinitz.de
Mon Mar 3 09:01:04 GMT 2003


Hi,

On Mon, Mar 03, 2003 at 04:12:58PM +1000, Brad wrote:
> When  using  a  SCSI scanner, ensure that the access permission for the
> generic SCSI device is set appropriately.  We recommend to add a  group
> "scanner"  to  /etc/group  which  contains  all  users that should have
> access to the scanner.  The permission of the device should then be set
> to  allow  group read and write access.  For example, if the scanner is
> at generic SCSI device /dev/sge, then the following two commands  would
> set the permission correctly:
> 
>               $ chgrp scanner /dev/sge
>               $ chmod 660 /dev/sge
> 
> I have done all this, but it still can't see the scanner when logged in as the 
> user (username is"scanner").

You did create the group sccanner and set up permissions for the
correct device file? /dev/sge may only be a link to the real file.

Use sane-find-scanner to find out which device file is used. Then use
ls -l to view the permissions.

If you don't have any other SCSI devices, the correct file is most
probably /dev/sg0.

> There is an error in /var/log/messages:
> scanner modprobe: modprobe: Can't locate module char-major-81

The meaning of major and minor numbers is documented in
/usr/src/linux/Documentation/devices.txt.

Major 81 is video4linux. Looks like you don't have a video/tuner card
installed. So you can ignore this message.

Bye,
  Henning



More information about the sane-devel mailing list