Hello community, here is the log from the commit of package cups checked in at Tue Jul 8 23:50:08 CEST 2008. -------- --- cups/cups.changes 2008-06-04 11:36:03.000000000 +0200 +++ cups/cups.changes 2008-07-01 16:01:27.410524000 +0200 @@ -1,0 +2,5 @@ +Tue Jul 1 15:59:34 CEST 2008 - kssingvo@suse.de + +- fix directory/setgid permissions for lppasswd use (bnc#404142) + +------------------------------------------------------------------- New: ---- cups-1.3.7-lppasswd_fixperm.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cups.spec ++++++ --- /var/tmp/diff_new_pack.s21590/_old 2008-07-08 23:49:33.000000000 +0200 +++ /var/tmp/diff_new_pack.s21590/_new 2008-07-08 23:49:33.000000000 +0200 @@ -22,7 +22,7 @@ Group: Hardware/Printing Summary: The Common UNIX Printing System Version: 1.3.7 -Release: 24 +Release: 29 Requires: cups-libs = %{version}, cups-client = %{version} Requires: ghostscript_any, ghostscript-fonts-std, foomatic-filters Requires: util-linux /usr/bin/pdftops @@ -72,6 +72,7 @@ Patch20: cups-1.4svn-pdftops_dont_fail_on_cancel.patch Patch21: cups-1.3.7-keeping_recommended.patch Patch22: cups-1.3.7-configfile_NoBrowseAddress.patch +Patch23: cups-1.3.7-lppasswd_fixperm.patch Patch100: cups-1.1.23-testpage.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -173,6 +174,7 @@ %patch20 -p1 %patch21 -p1 %patch22 -p1 +%patch23 -p1 if [ -f /.buildenv ]; then . /.buildenv else @@ -394,7 +396,7 @@ %{_bindir}/lpc %{_bindir}/lphelp %{_bindir}/lpoptions -%attr(4755,lp,sys) %{_bindir}/lppasswd +%attr(2755,-,lp) %{_bindir}/lppasswd %{_bindir}/lpq %{_bindir}/lpr %{_bindir}/lprm @@ -417,7 +419,7 @@ %files libs %defattr(-,root,root) %{_bindir}/cups-config -#%dir %attr(0755,lp,lp) %{_sysconfdir}/cups/ +%dir %attr(0775,root,lp) %{_sysconfdir}/cups/ %dir %attr(0710,root,lp) %{_var}/spool/cups %dir %attr(1770,root,lp) %{_var}/spool/cups/tmp %dir %attr(0755,lp,lp) %{_var}/log/cups/ @@ -428,6 +430,8 @@ %{_datadir}/locale/*/cups_* %changelog +* Tue Jul 01 2008 kssingvo@suse.de +- fix directory/setgid permissions for lppasswd use (bnc#404142) * Wed Jun 04 2008 kssingvo@suse.de - crash on startup when BrowseAddress has no value (bnc#396969) * Mon May 19 2008 kssingvo@suse.de ++++++ cups-1.3.7-lppasswd_fixperm.patch ++++++ --- cups-1.3.7/scheduler/conf.c.orig 2008-07-01 15:32:53.000000000 +0200 +++ cups-1.3.7/scheduler/conf.c 2008-07-01 15:51:22.000000000 +0200 @@ -785,7 +785,7 @@ Group, 1, 1) < 0 || cupsdCheckPermissions(StateDir, "certs", RunUser ? 0711 : 0511, User, SystemGroupIDs[0], 1, 1) < 0 || - cupsdCheckPermissions(ServerRoot, NULL, 0755, RunUser, + cupsdCheckPermissions(ServerRoot, NULL, 0775, RunUser, Group, 1, 0) < 0 || cupsdCheckPermissions(ServerRoot, "ppd", 0755, RunUser, Group, 1, 1) < 0 || ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org