cups/cups-1.2.6-lppasswd_permission.patch

13 lines
687 B
Diff

--- cups-1.2.6/scheduler/conf.c.orig 2006-11-09 15:21:33.000000000 +0100
+++ cups-1.2.6/scheduler/conf.c 2006-11-09 15:30:46.000000000 +0100
@@ -640,7 +640,9 @@
check_permissions(StateDir, NULL, 0755, RunUser, Group, 1, 1) < 0 ||
check_permissions(StateDir, "certs", RunUser ? 0711 : 0511, User,
SystemGroupIDs[0], 1, 1) < 0 ||
+#if 0
check_permissions(ServerRoot, NULL, 0755, RunUser, Group, 1, 0) < 0 ||
+#endif
check_permissions(ServerRoot, "ppd", 0755, RunUser, Group, 1, 1) < 0 ||
check_permissions(ServerRoot, "ssl", 0700, RunUser, Group, 1, 0) < 0 ||
check_permissions(ServerRoot, "cupsd.conf", ConfigFilePerm, RunUser,