USB scanner permission

Mikkel L. Ellertson mikkel at infinity-ltd.com
Wed Feb 20 23:13:31 UTC 2008


John Thompson wrote:
> 
> I thought you might be onto something when I saw:
> 
> <console>  0660 <scanner>    0600 root.lp
> 
> But after changing it to:
> 
> <console>  0666 <scanner>    0666 root.users
> 
> It still didn't work.
> 
> Here's my scanner in /etc/udev/rules.d/60-libsane.rules:
> 
> # EPSON GT-7000U | EPSON Perfection 636U | Epson Perfection 636U
> ATTR{idVendor}=="04b8", ATTR{idProduct}=="0101", SYMLINK+="scanner-%k"
> 
> I suspect I just don't know what I'm doing here.
> 
The first set of permissions are the permissions when the user is 
logged into the local console. The owner.group is changed to that of 
the user. The second permissions are the default permissions when 
no-one is logged in locally. The owner.group is what the device gets 
set to in that case.

One thing to keep in mind - the changes will not affect a scanner 
that is already plugged in, unless the user that "owns" the console 
logs out.

It isn't the clearest, but you may want to read the console.perms 
and pam_console man pages.

Mikkel
-- 

   Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20080220/2a304a0b/attachment-0001.sig>


More information about the fedora-list mailing list