Re: USB scanner permission

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux