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

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux