On Thu, 15 Jun 2017, BERTRAND Jo?l wrote:
> OK. I have found the mistake. ss0, nss0 _and_ enss0 are used by
> sane. With 660 permissions an these devices, xsane runs as expected
> and withtout root permissions.
Glad it works. Often you can use ktrace to run a tool and then after run
Andreas Beck a écrit :
yes, I think so too, in the manpage ive send here are three devices listed.
http://netbsd.gw.com/cgi-bin/man-cgi?ss+4.i386+NetBSD-7.0.2
OK. I have found the mistake. ss0, nss0 _and_ enss0 are used by sane.
With 660 permissions an these devices, xsane runs as expected
Andreas Beck a écrit :
https://wiki.netbsd.org/scanner/
"
User access
To grant another user access to use the scanner, create a 'scanner' group.
|# groupadd scanner |
Add user to the group scanner:
|# usermod -G scanner user_name |
Change group for a device:
|# chgrp scanner
yes, I think so too, in the manpage ive send here are three devices listed.
http://netbsd.gw.com/cgi-bin/man-cgi?ss+4.i386+NetBSD-7.0.2
BERTRAND Joël schrieb:
Andreas Beck a écrit :
https://wiki.netbsd.org/scanner/
"
User access
To grant another user access to use the scanner, create a
http://netbsd.gw.com/cgi-bin/man-cgi?ss+4.i386+NetBSD-7.0.2
Andreas Beck schrieb:
https://wiki.netbsd.org/scanner/
"
User access
To grant another user access to use the scanner, create a 'scanner'
group.
|# groupadd scanner |
Add user to the group scanner:
|# usermod -G scanner
https://wiki.netbsd.org/scanner/
"
User access
To grant another user access to use the scanner, create a 'scanner' group.
|# groupadd scanner |
Add user to the group scanner:
|# usermod -G scanner user_name |
Change group for a device:
|# chgrp scanner /dev/ugen* |
For some drivers,
currently, ive no netbsd installation on this place. But, do u have
added the user to other needed groups, something like, scanner, sane,
saned... stuff like that?
BERTRAND Joël schrieb:
Andreas Beck a écrit :
Hi,
put your user in the staff group and test it with chmod 777 /dev/ss0
(only
Andreas Beck a écrit :
Hi,
put your user in the staff group and test it with chmod 777 /dev/ss0
(only for testing, chmod 777)
If its not working, its no rights Problem.
Thanks for your answer. My user is in staff group and permissions on
/dev/ss0 is 777. With root privileges, xsane runs as
Hi,
put your user in the staff group and test it with chmod 777 /dev/ss0
(only for testing, chmod 777)
If its not working, its no rights Problem.
Andreas
BERTRAND Joël schrieb:
Hello,
I use a venerable Agfa scanner 1236S (SCSI) on a Digital PWS500au
workstation running NetBSD 8
Hello,
I use a venerable Agfa scanner 1236S (SCSI) on a Digital PWS500au
workstation running NetBSD 8 (8.99.1 kernel). This scanner is known as
/dev/ss0 and runs as expected with root privileges.
If I try to use xsane (or sane in CLI) as regular user, xsane doesn't
see my scanner.
10 matches
Mail list logo