Permissions problem for sane
rsmith at xs4all.nl
Thu Aug 6 14:08:46 UTC 2015
On Thu, Aug 06, 2015 at 11:43:35AM +0100, 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
> Should I modify the permissions on /dev/ugen0.2?
Here is what I did to fix USB and CD-ROM/DVD access problems.
1) Created groups “usb”/“cdrom” and added my user-id to those groups.
pw groupadd usb
pw groupadd cdrom
pw groupmod usb -m <username>
pw groupmod cdrom -m <username>
2) Added the following to the file /etc/devfs.rules:
add path 'da*' mode 0660 group usb
add path 'msdosfs/*' mode 0660 group usb
add path 'usb/*' mode 0660 group usb
add path 'ugen*' mode 0660 group usb
add path 'pass*' mode 0660 group cdrom
3) Activated this ruleset in /etc/rc.conf:
4) reboot to activate the new ruleset and rules.
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 5753 3324 1661 B0FE 8D93 FCED 40F6 D5DC A38A 33E0 (keyID: A38A33E0)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 801 bytes
Desc: not available
More information about the freebsd-questions