Mailinglist Archive: opensuse-factory (581 mails)

< Previous Next >
Re: [opensuse-factory] Scanner-implementation with Yast fails
  • From: Johannes Meixner <jsmeix@xxxxxxx>
  • Date: Tue, 2 Dec 2008 11:43:23 +0100 (CET)
  • Message-id: <alpine.LNX.1.10.0812021124050.2948@xxxxxxxxxxxxxx>

Hello,

On Dec 2 11:22 Peter Hoyer wrote (shortened):
Am Dienstag 02 Dezember 2008 09:46:20 schrieb Johannes Meixner:
https://bugzilla.novell.com/show_bug.cgi?id=450351

Access was denied.

The initial comment in this report is (shortened):
---------------------------------------------------------------
configured scanner using
control-center -> hardware -> scanner.
test scan said ok.

$ xsane
a popup flashes for 0.1sec: "scanning for devices" or similar
then a popup 'no devices available' [close] [help]

One of the suggestions displayed by pressing the help button,
is 'try as root'

xsane indeed works when called as root.
---------------------------------------------------------------


When I have recognised that the yast scanner-test was ok,
but still no effect for the user, I looked for a user group scan,
but didn't find any.

I think I cannot implement such a test for the group
because the YaST scanner config runs as root and
I don't know "inside" the scanner config which normal user
account would be used later to access the scanner.

I don't like the idea to inspect /etc/passwd if there is
a user account where the the numerical user ID is >= 1000
and/or where the numerical primary group ID for the user
is 100 or where the user's home directory seems to be
located on the local host or whatever else magic to find
out which normal user account might be used later
to access the scanner.

Compare
https://bugzilla.novell.com/show_bug.cgi?id=438867#c3
which points to
https://bugzilla.novell.com/show_bug.cgi?id=340173
where I describe a similar problem.


Additionally have a look at
https://bugzilla.novell.com/show_bug.cgi?id=349084
in particular starting at
https://bugzilla.novell.com/show_bug.cgi?id=349084#c7


Kind Regards
Johannes Meixner
--
SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany
AG Nuernberg, HRB 16746, GF: Markus Rex
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups