Coldplugging scanner permissions?
I am trying to set up my Epson CX6600 for scanning, and I have it working flawlessly except one problem.
If I reboot the computer, during the boot the owner:group are set root:root and the permissions are 0600.
An ll of /proc/bus/usb/001 shows the following:
-rw------- 1 root root 96 Dec 31 01:14 002
This is just as the system set the scanner up, but in order for me to scan a a regular user I have to turn the unit off and back on then my hotplug script will set the owner:group to
root:scanner with permissions of 0660 and all users in the scanner group can access the scanner.
What I would like to know is if it is possible to set the group to scanner during the booting of the machine, during coldplugging?
I have read man pages, posts, sane-usb, man hotplug but I cannot find out where to make the changes at boot time.
I am using Fedora 3 with 2.6.9 kernel and libusb.
Any help would be appreciated.