[cups.general] parallel backend vs /dev/lp0

Tim Waugh twaugh at redhat.com
Wed Mar 29 06:29:19 PST 2006


Hi,

In CUPS 1.2rc1 I see that the parallel backend no longer runs as
root.  The defaults seem to be user lp and group nobody (although
'CUPS_DEFAULT_GROUP' is "lp" in my config.h).

This means that the parallel backend doesn't have permission to open
this device for reading:

crw-rw---- 1 root lp 6, 0 Mar 29 08:52 /dev/lp0

Shouldn't CUPS_DEFAULT_GROUP be used instead of "nobody" here?:

scheduler/conf.c:
   340   /*
   341    * Find the default group (nobody)...
   342    */
   343
   344    group = getgrnam("nobody");
   345    endgrent();

Tim.
*/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.cups.org/pipermail/cups/attachments/20060329/a723f53c/attachment.bin>


More information about the cups mailing list