Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Nov 2000 17:51:54 -0600 (CST)
From:      "Scot W. Hetzel" <hetzels@westbend.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/22490: security/cyrus-sasl /var/pwcheck permissions
Message-ID:  <200011012351.RAA32751@spare.westbend.net>

next in thread | raw e-mail | index | archive | help

>Number:         22490
>Category:       ports
>Synopsis:       security/cyrus-sasl /var/pwcheck permissons (Maintainer)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 01 16:00:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Scot W. Hetzel
>Release:        FreeBSD 4.1-STABLE i386
>Organization:
West Bend Internet
>Environment:


>Description:

	PostFix requires 770 permissons on the /var/pwcheck directory.

>How-To-Repeat:


>Fix:


diff -ruN cyrus-sasl.orig/Makefile cyrus-sasl/Makefile
--- cyrus-sasl.orig/Makefile	Tue Oct 31 21:07:32 2000
+++ cyrus-sasl/Makefile	Wed Nov  1 17:30:22 2000
@@ -120,7 +120,7 @@
 	@${SED} -e "/%%PREFIX%%/s##${PREFIX}#g" ${FILESDIR}/pwcheck.sh \
 		> ${PREFIX}/etc/rc.d/pwcheck.sh
 	@${CHMOD} 755 ${PREFIX}/etc/rc.d/pwcheck.sh
-	${INSTALL} -d -m 760 -o cyrus -g cyrus /var/pwcheck
+	${INSTALL} -d -m 770 -o cyrus -g cyrus /var/pwcheck
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${PREFIX}/share/doc/SASL/html
 .for file in ${DOCS}
diff -ruN cyrus-sasl.orig/pkg-plist cyrus-sasl/pkg-plist
--- cyrus-sasl.orig/pkg-plist	Tue Oct 31 21:33:45 2000
+++ cyrus-sasl/pkg-plist	Wed Nov  1 17:29:59 2000
@@ -56,7 +56,7 @@
 %%NOPORTDOCS%%@dirrm share/doc/SASL/html
 %%NOPORTDOCS%%@dirrm share/doc/SASL
 @dirrm lib/sasl
-@mode u=rwx,g=rw,o=
+@mode ug=rwx,o=
 @cwd /var
 @exec mkdir pwcheck
 @exec chown cyrus:cyrus pwcheck

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011012351.RAA32751>