diff options
author | jlam <jlam> | 2000-12-28 02:22:18 +0000 |
---|---|---|
committer | jlam <jlam> | 2000-12-28 02:22:18 +0000 |
commit | 7175adc8d1c76456f8cd22dc89ddabd11d03a36a (patch) | |
tree | 566c8639121454e9554f48caa349d8cf3f738aad /print | |
parent | 38f116e9bf8023c8e5cf86ea05f095cd81242109 (diff) | |
download | pkgsrc-7175adc8d1c76456f8cd22dc89ddabd11d03a36a.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 |