summaryrefslogtreecommitdiff
path: root/debian/patches/confdirperms.patch
blob: fd03ff0cfbc056d59eddfc978ae999cf6935fdcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Do not mess with the permissions of cupsd.conf.
Author: Martin Pitt <mpitt@debian.org>

Last-Update: 2013-01-04

--- a/scheduler/conf.c
+++ b/scheduler/conf.c
@@ -1107,10 +1107,12 @@
 			     Group, 1, 1) < 0 ||
        cupsdCheckPermissions(ServerRoot, "ssl", 0700, RunUser,
 			     Group, 1, 0) < 0 ||
+       /* Never alter permissions of central conffile
        cupsdCheckPermissions(ConfigurationFile, NULL, ConfigFilePerm, RunUser,
 			     Group, 0, 0) < 0 ||
        cupsdCheckPermissions(CupsFilesFile, NULL, ConfigFilePerm, RunUser,
 			     Group, 0, 0) < 0 ||
+       */
        cupsdCheckPermissions(ServerRoot, "classes.conf", 0600, RunUser,
 			     Group, 0, 0) < 0 ||
        cupsdCheckPermissions(ServerRoot, "printers.conf", 0600, RunUser,