summarylogtreecommitdiffstats
path: root/str4495.patch
diff options
context:
space:
mode:
authorAlexey D2014-11-11 08:34:19 +0300
committerAlexey D2015-06-11 10:07:11 +0300
commit5e8f5d82adbac4b8e6cb12288c59063ee390ba79 (patch)
treef5a09480cd573afb88b11b27622e109c069f120f /str4495.patch
parent1e4942aa1933f726cdb93e6f20b416532a805c8f (diff)
downloadaur-5e8f5d82adbac4b8e6cb12288c59063ee390ba79.tar.gz
version 2.0.0-1
Diffstat (limited to 'str4495.patch')
-rw-r--r--str4495.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/str4495.patch b/str4495.patch
new file mode 100644
index 000000000000..e02fac93835f
--- /dev/null
+++ b/str4495.patch
@@ -0,0 +1,26 @@
+Index: conf/cups-files.conf.in
+===================================================================
+--- conf/cups-files.conf.in (revision 12220)
++++ conf/cups-files.conf.in (working copy)
+@@ -15,6 +15,7 @@
+ #Group @CUPS_GROUP@
+
+ # Administrator user group, used to match @SYSTEM in cupsd.conf policy rules...
++# This cannot contain the Group value for security reasons...
+ SystemGroup @CUPS_SYSTEM_GROUPS@
+ @CUPS_SYSTEM_AUTHKEY@
+
+Index: scheduler/conf.c
+===================================================================
+--- scheduler/conf.c (revision 12220)
++++ scheduler/conf.c (working copy)
+@@ -995,6 +995,9 @@
+
+ cupsdLogMessage(CUPSD_LOG_NOTICE,
+ "Group and SystemGroup cannot use the same groups.");
++ if (FatalErrors & (CUPSD_FATAL_CONFIG | CUPSD_FATAL_PERMISSIONS))
++ return (0);
++
+ cupsdLogMessage(CUPSD_LOG_INFO, "Resetting Group to \"nobody\"...");
+
+ group = getgrnam("nobody");