diff options
author | jlam <jlam> | 2000-12-28 02:22:18 +0000 |
---|---|---|
committer | jlam <jlam> | 2000-12-28 02:22:18 +0000 |
commit | 50e05e14f5e5a4b7522f215a22143bfa2fa216ca (patch) | |
tree | 566c8639121454e9554f48caa349d8cf3f738aad /print | |
parent | d6d5c0ee27a169a2d379844d02a5e6b2673a3171 (diff) | |
download | pkgsrc-50e05e14f5e5a4b7522f215a22143bfa2fa216ca.tar.gz |
Set correct permissions on /etc/cups/certs and /var/spool/cups. This also
fixes a bad chown command during binary package installation.
Diffstat (limited to 'print')
-rw-r--r-- | print/cups/pkg/INSTALL | 6 |
1 files 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 |