]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - scheduler/job.c
Allow backends to have group read + execute permissions and still run as root
[thirdparty/cups.git] / scheduler / job.c
index 0c5d7da00a8d0e39837c1f8f57691d2a43594bb6..7da65509946f393213e038c69eaa35e437835642 100644 (file)
@@ -1233,7 +1233,7 @@ cupsdContinueJob(cupsd_job_t *job)        /* I - Job */
       else if (stat(command, &backinfo))
        backroot = 0;
       else
-        backroot = !(backinfo.st_mode & (S_IRWXG | S_IRWXO));
+        backroot = !(backinfo.st_mode & (S_IWGRP | S_IRWXO));
 
       argv[0] = job->printer->sanitized_device_uri;