Opened 5 years ago
Closed 5 years ago
#157 closed System Defect (fixed)
File permissions wrong for USB Scanner
| Reported by: | lme | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | System Configuration | Version: | 7.0.1 |
| Keywords: | scanner usb devfs user permissions skanlite | Cc: | trac-bugs@… |
Description
In PC-BSD 7.01 my USB scanner (Canon LiDE 25) is properly recognized as uscanner0, but the device permissions are not right.
While I can use the scanner by starting skanlite as root, when I start skanlite as a normal user, I get an error message that no scanners were found.
That's because the user doesn't have read/write permissions to /dev/uscanner0.
Adding
add path uscanner[0-9]* mode 0660 group operator
to /etc/devfs.conf
should fix that.
Change History (1)
comment:1 Changed 5 years ago by kris
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.

We already have some defines setup in /etc/devfs.rules similar to this. I've gone ahead and added this line to /etc/devfs.rules:
add path 'uscan*' mode 666 group operator
http://trac.pcbsd.org/changeset/2938
I will issue an online here soon which corrects this issue for 7.0.1 users.
Thanks!