THe below output from my terminal probably should make sense to those able to help:
[root@Plugbox ~]# cd /dev/bus/usb
[root@Plugbox usb]# ls
001
[root@Plugbox usb]# cd 001
[root@Plugbox 001]# ls -l
total 0
crw-rw-r-- 1 root root 189, 0 Mar 17 16:11 001
crw-rw-r-- 1 root scanner 189, 1 Mar 17 16:11 002
(at this point I can not print)
[root@Plugbox 001]# chown root:lp 001
[root@Plugbox 001]# chown root:lp 002
[root@Plugbox 001]# ls -l
total 0
crw-rw-r-- 1 root lp 189, 0 Mar 17 16:11 001
crw-rw-r-- 1 root lp 189, 1 Mar 17 16:11 002
(now the printing starts)
The system is a plug computer running Plugbox linux (http://plugapps.com). When it uses CUPS for printing and Samba to share this with my windows network.
I'm sure the details are irrelevent, but my problem is that I require the printer to belong to the lp group when it is connected. How do I go about doing this?
I assume I use the permissions files in rules.d but I am unsure of the syntax.
Thanks