diff options
author | Martin Pitt <mpitt@debian.org> | 2016-08-09 18:11:41 +0200 |
---|---|---|
committer | Didier Raboud <odyx@debian.org> | 2017-11-02 15:50:35 +0100 |
commit | c62fb4a103968661968b81ebee9215c87f475ab7 (patch) | |
tree | 1e656971018f13dee608bd213bb53d67a4595b08 /scheduler | |
parent | 9e5568b7a79b85332ed0308d346650b9e4b9503d (diff) |
Do not mess with the permissions of cupsd.conf.
Last-Update: 2015-02-10
Patch-Name: confdirperms.patch
Diffstat (limited to 'scheduler')
-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 ab98e1c7d..cd79a1324 100644 --- a/scheduler/conf.c +++ b/scheduler/conf.c @@ -1134,10 +1134,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, |