]> git.pld-linux.org Git - packages/cups.git/blob - cups-backroot-readable.patch
- added backroot-readable patch (allow backends requiring root to be readable by...
[packages/cups.git] / cups-backroot-readable.patch
1 --- cups-2.3.1/scheduler/job.c.orig     2020-04-13 22:03:43.447639630 +0200
2 +++ cups-2.3.1/scheduler/job.c  2020-04-14 06:17:15.043886518 +0200
3 @@ -1340,7 +1340,7 @@
4        else if (stat(command, &backinfo))
5         backroot = 0;
6        else
7 -        backroot = !(backinfo.st_mode & (S_IWGRP | S_IRWXO));
8 +        backroot = !(backinfo.st_mode & (S_IWGRP | S_IWOTH | S_IXOTH));
9  
10        argv[0] = job->printer->sanitized_device_uri;
11  
This page took 0.050783 seconds and 3 git commands to generate.