diff options
author | Martin Pitt <mpitt@debian.org> | 2016-08-09 18:11:41 +0200 |
---|---|---|
committer | Didier Raboud <odyx@debian.org> | 2021-03-31 08:56:11 +0200 |
commit | 3572f5e7c7f3f77cef60dadbf3c6132146bda11f (patch) | |
tree | cc2aaf3446158cefae8dc32a27fd36279888f7d0 | |
parent | d06d8a411814656083961857c7ee5ff8956498e2 (diff) |
Debian: Do not alter the permissions of cupsd.conf, ever
Origin: vendor
Bug: https://github.com/OpenPrinting/cups/pull/36
Gbp-Pq: Name 0008-Debian-Do-not-alter-the-permissions-of-cupsd.conf-ev.patch
-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, |