diff options
author | Martin Pitt <mpitt@debian.org> | 2016-08-09 18:11:41 +0200 |
---|---|---|
committer | Didier Raboud <odyx@debian.org> | 2020-10-23 11:14:13 +0200 |
commit | c409755616ee0930ef1410945c1000e1dcc71b01 (patch) | |
tree | 4b3797770134b89ebb6f4b975dd611d06fa19a64 | |
parent | 1e2d64ec6d5964e6ac8a6eeb3d9090efcd406fa8 (diff) |
Do not mess with the permissions of cupsd.conf.
Patch-Name: confdirperms.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 e734c7c2b..550cccbc4 100644 --- a/scheduler/conf.c +++ b/scheduler/conf.c @@ -1135,10 +1135,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, |