LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Ahhh, XSane, UDEV and Device Node Permissions? (https://www.linuxquestions.org/questions/linux-software-2/ahhh-xsane-udev-and-device-node-permissions-544202/)

binarybob0001 04-08-2007 01:14 AM

Ahhh, XSane, UDEV and Device Node Permissions?
 
I have an Epson Perfection 1670 scanner. I'm using Slackware 11.0 with 2.6.16.9 kernel installed with udev enabled. XSane runs fine as root, but I can't seem to give normal users permission to use the scanner even if I add them to the group scanner. To verify that I editted my group and passwd files correctly, please look at them.
/etc/group
Code:

scanner::93:1000,1001
/etc/passwd
Code:

bobby:x:1000:100:,,,:/home/bobby:/bin/bash
joe:x:1001:100:,,,:/home/joe:/bin/bash

Do bobby and joe belong to group scanner? If not now that I have udev installed there should be some way to figure out what device node it naturally assigns to the scanner. I thought it would be sg0, but I just don't know. Thanks to anyone who can help.

dugas 04-08-2007 02:06 AM

Udev
 
You may have to make a UDEV rule for your scanner. An example of one I use for my UPS is:

KERNEL="hiddev*", NAME="usb/hiddev%n"
(NOTE: Place this line in /etc/udev/rules.d/50-udev.rules)

This will create a rule for all hidden device entries, which may or may not be what type of device your scanner is.

binarybob0001 04-10-2007 12:16 AM

Thanks for the help. I actually got it working by just typing in my name rather than the number.


All times are GMT -5. The time now is 09:34 AM.