]> git.pld-linux.org Git - packages/cups.git/blobdiff - cups-backroot-readable.patch
- added backroot-readable patch (allow backends requiring root to be readable by...
[packages/cups.git] / cups-backroot-readable.patch
diff --git a/cups-backroot-readable.patch b/cups-backroot-readable.patch
new file mode 100644 (file)
index 0000000..5e3cb14
--- /dev/null
@@ -0,0 +1,11 @@
+--- cups-2.3.1/scheduler/job.c.orig    2020-04-13 22:03:43.447639630 +0200
++++ cups-2.3.1/scheduler/job.c 2020-04-14 06:17:15.043886518 +0200
+@@ -1340,7 +1340,7 @@
+       else if (stat(command, &backinfo))
+       backroot = 0;
+       else
+-        backroot = !(backinfo.st_mode & (S_IWGRP | S_IRWXO));
++        backroot = !(backinfo.st_mode & (S_IWGRP | S_IWOTH | S_IXOTH));
+       argv[0] = job->printer->sanitized_device_uri;
This page took 0.029667 seconds and 4 git commands to generate.