]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - scheduler/process.c
Merge changes from CUPS 1.5svn-r9675.
[thirdparty/cups.git] / scheduler / process.c
index 2260249f127576924ed7b5ca99532f64bb517d75..80c3fcb5995b5825491979f91137d73c6ae94224 100644 (file)
@@ -435,7 +435,11 @@ cupsdStartProcess(
                    command, commandinfo.st_mode,
                    (int)commandinfo.st_uid, (int)commandinfo.st_gid);
 
+#ifdef __APPLE__ /* Don't flag filters with group write for "admin" */
+    if (commandinfo.st_gid != 80 && job && job->printer)
+#else
     if (job && job->printer)
+#endif /* __APPLE__ */
     {
       if (cupsdSetPrinterReasons(job->printer, "+cups-insecure-filter-warning"))
        cupsdAddEvent(CUPSD_EVENT_PRINTER_STATE, job->printer, NULL,