Re: Fwd: usb printer vs cups

2014-09-17 Thread Andriy Gapon
On 17/09/2014 10:04, Andriy Gapon wrote: > On 17/09/2014 09:21, Hans Petter Selasky wrote: >> Instead make cups-base install the attached devd configuration file in >> /usr/local/etc/devd/ which does the needed chown for printers only. > > The problem is that my printer does not work if I also do

Re: Fwd: usb printer vs cups

2014-09-17 Thread Andriy Gapon
On 17/09/2014 09:21, Hans Petter Selasky wrote: > On 09/17/14 08:00, Andriy Gapon wrote: >> >> Soliciting help. >> >> Forwarded Message >> >>> From my experience I think that cupsd executes backend tools with all uids >>> and >> gids set to cups and no supplementary groups. In t

Re: usb printer vs cups

2014-09-16 Thread David Chisnall
There are a couple of similar issues currently. The other one that comes to mind is that every X11 application that needs to use OpenGL (or similar) must open /dev/dri/{something}, but the default permissions only permit root. The correct solution is probably to ship a devfs.conf that puts thes

Re: Fwd: usb printer vs cups

2014-09-16 Thread Hans Petter Selasky
On 09/17/14 08:00, Andriy Gapon wrote: Soliciting help. Forwarded Message From my experience I think that cupsd executes backend tools with all uids and gids set to cups and no supplementary groups. In the case of USB printers the backends need to access /dev/usbctl and /d

Fwd: usb printer vs cups

2014-09-16 Thread Andriy Gapon
Soliciting help. Forwarded Message >From my experience I think that cupsd executes backend tools with all uids and gids set to cups and no supplementary groups. In the case of USB printers the backends need to access /dev/usbctl and /dev/usb/foobar that corresponds to a printe