Patch #: 79 Type: bug fix Priority: low Affects: sites using lwsrv -DAUFS_SECURITY with restricted group access Reported: Mats Olsson Archived: munnari.OZ.AU mac/cap.patches/cap60.patch079 Application: 'cd cap60; patch -p < cap60.patches/cap60.patch079' Summary: do a setgid() as well as setuid() File: cap60/applications/lwsrv/lwsrv.c *** applications/lwsrv/lwsrv.c.orig Sun Feb 16 02:00:11 1992 --- applications/lwsrv/lwsrv.c Sun Feb 16 03:05:29 1992 *************** *** 1,6 **** ! static char rcsid[] = "$Author: djh $ $Date: 1992/02/15 14:59:55 $"; ! static char rcsident[] = "$Header: /mac/src/cap60/applications/lwsrv/RCS/lwsrv.c,v 2.15 1992/02/15 14:59:55 djh Rel djh $"; ! static char revision[] = "$Revision: 2.15 $"; /* * lwsrv - UNIX AppleTalk spooling program: act as a laserwriter --- 1,6 ---- ! static char rcsid[] = "$Author: djh $ $Date: 1992/02/15 16:05:04 $"; ! static char rcsident[] = "$Header: /mac/src/cap60/applications/lwsrv/RCS/lwsrv.c,v 2.16 1992/02/15 16:05:04 djh Rel djh $"; ! static char revision[] = "$Revision: 2.16 $"; /* * lwsrv - UNIX AppleTalk spooling program: act as a laserwriter *************** *** 754,759 **** --- 754,760 ---- #endif LWSRV_LPR_LOG chown(tname, requid, reqgid); setuid(requid); + setgid(reqgid); } #endif LWSRV_AUFS_SECURITY #ifdef LWSRV_LPR_LOG *** README.orig Sun Feb 16 03:05:50 1992 --- README Sun Feb 16 03:06:16 1992 *************** *** 3,9 **** (For use with AppleTalk/Ethernet bridge) o RELEASE NOTES ! o CAP Distribution 6.0, Patch Level 78, February 1992 Introduction ------------ --- 3,9 ---- (For use with AppleTalk/Ethernet bridge) o RELEASE NOTES ! o CAP Distribution 6.0, Patch Level 79, February 1992 Introduction ------------