ports/75549: [PATCH] New directory DSPAM_HOME mode must be 0770, not 0660.

Julien Gabel jpeg at thilelli.net
Mon Dec 27 18:20:12 UTC 2004


>Number:         75549
>Category:       ports
>Synopsis:       [PATCH] New directory DSPAM_HOME mode must be 0770, not 0660.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 27 18:20:11 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Julien Gabel
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD bento.thilelli.net 5.2.1-RELEASE-p13 FreeBSD 5.2.1-RELEASE-p13 #0: Mon Dec 27 13:35:53 CET 2004     root at bento.thilelli.net:/usr/obj/usr/src/sys/BENTO  i386
>Description:
After a fresh installation of mail/dspam (/var/db/pkg/dspam-3.2.3.20041218.2100_1), it was not possible
to pass trough the new DSPAM_HOME directory, in particular using the User Statistics from the Admin
page of the CGI web suite.
>How-To-Repeat:
Install mail/dspam on a new system or grep 'DSPAM_HOME_MODE?' /usr/ports/mail/dspam/Makefile.
>Fix:
This little modification of the port's Makefile do the trick:
# diff -ruN /usr/ports/mail/dspam/Makefile.orig /usr/ports/mail/dspam/Makefile
--- /usr/ports/mail/dspam/Makefile.orig Mon Dec 27 17:04:51 2004
+++ /usr/ports/mail/dspam/Makefile      Mon Dec 27 17:07:02 2004
@@ -102,7 +102,7 @@
 _VAR_DIR=      /var
 LOG_DIR?=      ${_VAR_DIR}/log/dspam
 DSPAM_HOME?=   ${_VAR_DIR}/db/dspam
-DSPAM_HOME_MODE?=      0660
+DSPAM_HOME_MODE?=      0770
 
 DSPAM_OWNER?=  root
 DSPAM_GROUP?=  mail
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list