Re: scanimage -L doesn't work as normal user
From: Marc Fonvieille (blackend_at_freebsd.org)
Date: 07/30/05
- Previous message: Erik Nørgaard: "Re: scanimage -L doesn't work as normal user"
- In reply to: Erik Nørgaard: "Re: scanimage -L doesn't work as normal user"
- Next in thread: Erik Nørgaard: "SOLVED: scanimage -L doesn't work as normal user"
- Reply: Erik Nørgaard: "SOLVED: scanimage -L doesn't work as normal user"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 30 Jul 2005 16:13:03 +0200 To: Erik Nørgaard <norgaard@math.ku.dk>
On Sat, Jul 30, 2005 at 03:42:54PM +0200, Erik Nørgaard wrote:
> On Sat, 30 Jul 2005, Marc Fonvieille wrote:
>
> > On Sat, Jul 30, 2005 at 01:41:20PM +0200, Erik Nørgaard wrote:
> >
> > Wrong perms on ugen0, read carefully:
> > 7.6.4 Allowing Scanner Access to Other Users
> > if you want ugen0 appears with the right permissions once you plug your
> > scanner. The current devfs scheme you use (Cf. your previous mail)
> > should work if you boot directly with your scanner plugged and not if
> > you plug it later.
>
> According to the man-pages, this should be solved by adding the
> folowing rules to /etc/devfs.rules:
>
> # Allow any user to access uscanner and ugen devices rw
> add path 'usb0' mode 0666
> add path 'ugen*' mode 0666
> add path 'uscanner*' mode 0666
>
you should add a ruleset line before your lines.
> I restarted devfs but the devices were created with the wrong
> permissions when I plugged in the scanner?
>
I don't understand the "?"
> If I restart devfs after plugging in the scanner permissions are
> corrected. But I think this is rather annoying - is this intended?
> no problem report has been filed on this issue...
[...]
I think it's a ruleset issue as I said above. Another thing devfs.rules
is for pluggable devices, devfs.conf for devices present at boot time.
Marc
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
- Previous message: Erik Nørgaard: "Re: scanimage -L doesn't work as normal user"
- In reply to: Erik Nørgaard: "Re: scanimage -L doesn't work as normal user"
- Next in thread: Erik Nørgaard: "SOLVED: scanimage -L doesn't work as normal user"
- Reply: Erik Nørgaard: "SOLVED: scanimage -L doesn't work as normal user"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]