Permissions problem for sane

Anthony Campbell ac at acampbell.uk
Thu Aug 6 15:41:50 UTC 2015


On 06 Aug 2015, Warren Block wrote:
> On Thu, 6 Aug 2015, Anthony Campbell wrote:
> 
> >On 06 Aug 2015, Warren Block wrote:
> >>On Thu, 6 Aug 2015, Anthony Campbell wrote:
> >>
> >>>My first posting to this list. I've been using 10.1 for a couple of
> >>>months on my Thinkpad T60 without problems.
> >>>
> >>>Trying to get my Epson 1650 scanner to work, I found it was only
> >>>detected as root. It's at /dev/usb:/dev/ugen0.2
> >>>
> >>>After googling, I found instructions on Freebsd manual for 8.7, which
> >>>involved creating a usb group and making/modifying /etc/devfs.rules.
> >>>This didn't work.
> >>>
> >>>I then added myself to the wheel and operator groups but again no
> >>>result.
> >>>
> >>>Should I modify the permissions on /dev/ugen0.2?
> >>
> >>That will work temporarily.  The scanner might not always appear at 0.2,
> >>though.  A similar way of doing this is to make your normal user a member of
> >>the operator group, and assign all USB devices to that group with
> >>/etc/devfs.rules:
> >>
> >>  add path 'usb/*' mode 0660 group operator
> >
> >Thanks for the reply. Unfortunately I've already tried that but it
> >doesn't make any difference. Still I can only find the scanner as root.
> 
> Maybe I forgot something.  I have an Epson 1640SU which works fine here. The
> only other setting in /etc/devfs.rules that might matter is
> 
>   add path 'xpt*' mode 0660 group operator



Nope, still nothing as user. The scanner works OK on both OpenBSD and
ArchLinux. Just in case I've misunderstood the format for
/etc/devfs.rules, here is what I'm using:


[system=5]
add path 'usb/*' mode 0660 group operator
add path 'xpt*' mode 0660 group operator


I am a member of the operator group.


-- 
Anthony Campbell			http://www.acampbell.uk


More information about the freebsd-questions mailing list