From 50e05e14f5e5a4b7522f215a22143bfa2fa216ca Mon Sep 17 00:00:00 2001 From: jlam Date: Thu, 28 Dec 2000 02:22:18 +0000 Subject: Set correct permissions on /etc/cups/certs and /var/spool/cups. This also fixes a bad chown command during binary package installation. --- print/cups/pkg/INSTALL | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/print/cups/pkg/INSTALL b/print/cups/pkg/INSTALL index 0663a34e12b..a516125ecb6 100644 --- a/print/cups/pkg/INSTALL +++ b/print/cups/pkg/INSTALL @@ -1,6 +1,6 @@ #! /bin/sh # -# $NetBSD: INSTALL,v 1.7 2000/12/15 21:57:38 jlam Exp $ +# $NetBSD: INSTALL,v 1.8 2000/12/28 02:22:18 jlam Exp $ PKGNAME=$1 STAGE=$2 @@ -61,11 +61,13 @@ PRE-INSTALL) POST-INSTALL) ${MKDIR} ${CONFDIR} ${MKDIR} ${CONFDIR}/certs + ${CHMOD} ugo+x,go-rw ${CONFDIR}/certs ${MKDIR} ${CONFDIR}/interfaces ${MKDIR} ${CONFDIR}/ppd ${MKDIR} ${LOGDIR} ${MKDIR} ${REQUESTDIR} - ${CHOWN} ${USER}:${GROUP} ${REQUESTDIR}/tmp + ${CHMOD} u+rwx,go-rwx ${REQUESTDIR} + ${CHOWN} ${USER}:${GROUP} ${REQUESTDIR} ${MKDIR} ${REQUESTDIR}/tmp ${CHMOD} u+rwx,go-rwx,+t ${REQUESTDIR}/tmp ${CHOWN} ${USER}:${GROUP} ${REQUESTDIR}/tmp -- cgit v1.2.3