[sane-devel] Problem with HP ScanJet 4p and SCSI
David Brant
brantosaurus at hotmail.com
Sat Jun 13 18:47:27 UTC 2009
Hi Dieter,
Yes, there is a group called users in /etc/group and i placed myself an
the other users as you specified.
users:x:100:david,celeste,rochelle
It now works successfully after booting for each individual!
Excellent, well done my friend. You have solved the problem, XSane now
works perfectly. I will keep your recommendations and the undev-rules
safe for future reference. I (and my fellow users) very much appreciate
your kind help with this.
Best regards from London :-)))
Dave
On Wed, 2009-06-10 at 23:25 +0200, Dr. Ing. Dieter Jurzitza wrote:
> Hi David,
> ok. It becomes clear now. Our udev-rule is in action (because the permissions
> match the rules I defined). So far, so good.
> However, ubuntu does several things different to other distributions. A
> regular user (like your "david" or mine "fred") has permissions like
>
> owner: username
> group: users
>
> in openSUSE and Debian and many others I know. However, "david" on ubuntu is
> different in this regard and this is what causes the problems.
>
> owner: david
> group: david
>
> We have 2 options now. One would be to open the device for everybody what I
> would dislike. The other one is to make all users that should be allowed to
> access the scanner members of the group "users" if that group exists. As I do
> not know about the ubuntu configuration options, I can tell you the "hard"
> way. Look into /etc/group. It should look similar to:
>
> audio:x:17:fred,hoss
> avahi:!:106:
> beagleindex:!:108:
> bin:x:1:daemon
> cdrom:x:20:
> console:x:21:
> daemon:x:2:
>
> Please check if there is an entry "users" like (the number might be
> different):
> users:x:100
>
> There you should add each user that should get access to your scanner.
>
> users:x:100:david,carl,george,shirley
>
> If there is no group "users" present, simply add one. The number needs to be
> one that does not exist in the list of groups in /etc/group
>
> Alternatively you could create a group "scanner", too by adding it to the list
> (similar format like the other entries). Then you have to add all users that
> should be allowed to access the scanner like before you did to the group
> users. _If_ you plan to go that path, you'll have to modify
> /etc/udev/rules.d/55-scanner.rules, too. There you'd have to replace each
> entry pointing to "users" by "scanner". I attached a corresponding readily
> modified file to this email, it's up to your choice!
>
> Let me know if something is unclear and be careful when editing /etc/group,
> watch thoroughly that you place each comma and each : the way it is set in the
> other entries in this file before saving. If unsure, write an email, It's
> nothing magic about, but I understand very well that it is not that easy to
> understand from the very begin.
>
> After a reboot things should work, please report your success, we'll get this
> done, soon!
>
> Take care, greetings from Germany
>
>
>
>
>
> Dieter
>
>
>
> Am Mittwoch 10 Juni 2009 22:19:45 schrieben Sie:
> > Hi Dieter
> >
> > No need to apologise, your English is perfectly clear to me. The problem
> > is me and my limited understanding of linux!
> >
> > Here is my log.
> >
> > david at david-desktop:/etc/udev/rules.d$ dir
> ******
>
>
More information about the sane-devel
mailing list