Do not mess with the permissions of cupsd.conf.

Patch-Name: confdirperms.patch

Gbp-Pq: Name 0027-Do-not-mess-with-the-permissions-of-cupsd.conf.patch
This commit is contained in:
Martin Pitt 2016-08-09 18:11:41 +02:00 committed by openKylinBot
parent c0a25e6ebf
commit 5d3dd6a809
1 changed files with 2 additions and 0 deletions

View File

@ -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,