lp0 permission problems

2009-10-28 Thread Barry

I had a problem where cups would not print to lp0. I finally solved it
by changing permissions from 660 to 666.

since running the print job I have rebooted and find that permissions on
lp0 have reverted to 660. Can someone tell me where this is (re)set on
startup and/or how to fix the problem.

System is Mandriva2009.1

TIA
Barry



Re: lp0 permission problems

2009-10-28 Thread Craig Falconer

Barry wrote, On 29/10/09 11:16:

I had a problem where cups would not print to lp0. I finally solved it
by changing permissions from 660 to 666.

since running the print job I have rebooted and find that permissions on
lp0 have reverted to 660. Can someone tell me where this is (re)set on
startup and/or how to fix the problem.



Sounds like udev is doing it wrong.  You could twiddle udev, or add the 
user that cups runs as, to the group which owns /dev/lp0 and then gets 
affected by the group ( middle 6) in the permissions, rather than the 
world permissions.



--
Craig Falconer