mirror of https://gitee.com/openkylin/cups.git
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:
parent
c0a25e6ebf
commit
5d3dd6a809
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue