Scanner works in root but not as user

Eric Richardson eric@milagrosoft.com
Thu, 22 Mar 2001 14:30:15 -0700


David Mandala wrote:
> 
> you most likely will need to chmod the /dev/"driver" that the scanner is
> hung off of. For example if it were hung off of the /dev/ttyS0 normally the
> ownership and bits are set to:
> 
> root:root rwx------ (700)
> 
> you might want to set them to:
> 
> root:root rwxrwxrwx (777)
> 
> A bit dangerous as 777 allows anyone to muck about with the scanner device
> or
> 
> make a scanner group and:
> 
> add yourself to the scanner group and chmod and chown to:
> 
> root:scanner rwxrwx--- (770)
> 


crw-rw----    1 root     audio     14,   3 Jul  5  2000 /dev/dsp
In Debian, this device is already set up so don't change permissions on
the file unless there are no group permissions.

In this case as root
1. adduser <user> audio


So the steps for /dev/ttyS0 (if this device is your scanner) as root.

1. if group has no permissions
   chmod g+rw /dev/ttyS0
2. addgroup scanner
3. chgrp scanner /dev/ttyS0
4. adduser <user> scanner

Hope this helps,

Eric :-)