On Wed, Apr 28, 2010 at 07:50:04PM +0200, Marco Beishuizen wrote: > Hi, > > I have a flatbed scanner (a HP ScanJet 4400c) that works with SANE (and > Xsane), but only as root and I want to access it as user. After some > googling and reading the handbook I copied the default file > /etc/defaults/devfs.rules to /etc/ and added the lines: > > [system=5] > add path 'ugen*' mode 0664 group usb > add path 'usb/*' mode 0666 group usb > > and also made the group usb with root and the user in /etc/group. > I also added devfs_system_ruleset="system" to /etc/rc.conf. > > After a reboot, USB and the scanner are still only accessible as root and > not as user. What am I doing wrong?
Are the permissions correct? Check with 'ls -l /dev/usb/ /dev/ugen*'. Is your user-id in the usb group? Check by running 'id' as the normal user. If all that is in order, remove all lines except the three above from /etc/devfs.rules, and try again. -- 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)
pgpv3hIRSjxM7.pgp
Description: PGP signature