Using a scanner (USB) as user and not as root
Roland Smith
rsmith at xs4all.nl
Thu Apr 29 22:09:05 UTC 2010
On Thu, Apr 29, 2010 at 03:09:02PM -0600, Warren Block wrote:
> On Thu, 29 Apr 2010, Marco Beishuizen wrote:
>
> > On Thu, 29 Apr 2010, Warren Block wrote:
> >
> >> For the sake of completeness: devd has to be restarted after changes to
> >> devd.conf, and the code above is only executed when the scanner is detected
> >> (USB cable plugged in or scanner powered on).
> >
> > I rebooted and plugged in the scanner but no changes.
>
> One other difference I found in my /etc/devfs.rules:
>
> add path 'ugen*' mode 0660 group operator
> add path 'usb/*' mode 0770 group operator
Mode 0660 should be sufficient. Just make sure there is a newline at the end
of the last rule! Otherwise the shell script that processes them will not see
them. The command 'devfs rule show' will tell you which rules have actually
been created.
Roland
--
R.F.Smith http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100429/d603e1da/attachment.pgp
More information about the freebsd-questions
mailing list