diff options
author | Martin Pitt <mpitt@debian.org> | 2016-08-09 18:11:41 +0200 |
---|---|---|
committer | Didier Raboud <odyx@debian.org> | 2018-12-10 09:53:08 +0100 |
commit | 7a04295d8c2529453b9f8a63fa6d84c6d5b138d0 (patch) | |
tree | c120818a47320cbf9d7f46e1811b89f2dadf04a7 | |
parent | c38dafd69fa6175de4f55c208128f9bf87686443 (diff) |
Do not mess with the permissions of cupsd.conf.
Last-Update: 2015-02-10
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 6bcbb262b..a1d9e44eb 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, |