[Pkg-cups-devel] r324 - cupsys/branches/cups-1.2-ubuntu/debian

Martin Pitt mpitt at costa.debian.org
Mon Jul 24 08:42:27 UTC 2006


Author: mpitt
Date: Mon Jul 24 08:42:24 2006
New Revision: 324

Modified:
   cupsys/branches/cups-1.2-ubuntu/debian/changelog
   cupsys/branches/cups-1.2-ubuntu/debian/cupsys.postinst

Log:
* cupsys.postinst: Fix permissions of cupsd.conf to be writable by user
  cupsys world-readable.

Modified: cupsys/branches/cups-1.2-ubuntu/debian/changelog
==============================================================================
--- cupsys/branches/cups-1.2-ubuntu/debian/changelog	(original)
+++ cupsys/branches/cups-1.2-ubuntu/debian/changelog	Mon Jul 24 08:42:24 2006
@@ -18,8 +18,10 @@
   * debian/control: Add libdbus-1-dev build dependency to enable dbus support.
   * debian/cupsys.examples: Do not ship .svn files (upstream Makefiles install
     them).
+  * cupsys.postinst: Fix permissions of cupsd.conf to be writable by user
+    cupsys world-readable.
 
- -- Martin Pitt <martin.pitt at ubuntu.com>  Mon, 24 Jul 2006 10:14:55 +0200
+ -- Martin Pitt <martin.pitt at ubuntu.com>  Mon, 24 Jul 2006 10:34:16 +0200
 
 cupsys (1.2.1-4) unstable; urgency=medium
 

Modified: cupsys/branches/cups-1.2-ubuntu/debian/cupsys.postinst
==============================================================================
--- cupsys/branches/cups-1.2-ubuntu/debian/cupsys.postinst	(original)
+++ cupsys/branches/cups-1.2-ubuntu/debian/cupsys.postinst	Mon Jul 24 08:42:24 2006
@@ -204,7 +204,7 @@
 
 	# permission configuration
 	chown root:lp /etc/cups ; chmod 3755 /etc/cups
-	chown root:lp /etc/cups/cupsd.conf ; chmod 640 /etc/cups/cupsd.conf
+	chown cupsys:root /etc/cups/cupsd.conf ; chmod 644 /etc/cups/cupsd.conf
 	chown root:lp /etc/cups/ppd ; chmod 755 /etc/cups/ppd
 	if [ -f /etc/cups/classes.conf ]; then
 	  chown root:lp /etc/cups/classes.conf ; chmod 600 /etc/cups/classes.conf



More information about the Pkg-cups-devel mailing list