diff options
author | Martin Pitt <mpitt@debian.org> | 2016-08-09 18:11:41 +0200 |
---|---|---|
committer | Didier Raboud <odyx@debian.org> | 2020-11-28 16:39:07 +0100 |
commit | 9a5188a4a3b19d243fde98faa51e65154bdb17aa (patch) | |
tree | 37159bbbbe664c0256563f3d8dec85b95b030b1a | |
parent | e2e1fb2a0b0230425e696524351d438e47d9f089 (diff) |
Debian: Do not alter the permissions of cupsd.conf, ever
Origin: vendor
Bug: https://github.com/OpenPrinting/cups/pull/36
-rw-r--r-- | scheduler/conf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scheduler/conf.c b/scheduler/conf.c index bfd1b0b75..c8cd5ea49 100644 --- a/scheduler/conf.c +++ b/scheduler/conf.c @@ -1140,10 +1140,12 @@ cupsdReadConfiguration(void) 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, |