Re: xsane and root permissions

2017-06-15 Thread Jeremy C. Reed
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

Re: xsane and root permissions

2017-06-15 Thread BERTRAND Joël
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

Re: xsane and root permissions

2017-06-15 Thread BERTRAND Joël
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

Re: xsane and root permissions

2017-06-15 Thread Andreas Beck
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

Re: xsane and root permissions

2017-06-15 Thread Andreas Beck
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

Re: xsane and root permissions

2017-06-15 Thread Andreas Beck
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,

Re: xsane and root permissions

2017-06-15 Thread Andreas Beck
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

Re: xsane and root permissions

2017-06-15 Thread BERTRAND Joël
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

Re: xsane and root permissions

2017-06-15 Thread Andreas Beck
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

xsane and root permissions

2017-06-13 Thread BERTRAND Joël
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.