[cups.bugs] [HIGH] STR #1521: Non-root backends should use CUPS_DEFAULT_GROUP
twaugh.redhat
twaugh at redhat.com
Wed Mar 29 07:33:55 PST 2006
[STR New]
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();
Link: http://www.cups.org/str.php?L1521
Version: 1.2b2
More information about the cups
mailing list